From 7ce5ed80811cd553940882b5ef5a1f7f235e71f2 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 18 Jun 2008 14:06:42 -0400 Subject: small debugging and messaging fixes darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz --- actions/finishaddopenid.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/finishaddopenid.php') diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php index 4f167e9ef..f2965f0e4 100644 --- a/actions/finishaddopenid.php +++ b/actions/finishaddopenid.php @@ -69,9 +69,10 @@ class FinishaddopenidAction extends Action { $this->message(_t('This OpenID is already associated with user "') . $other->nickname . _t('"')); } else { $cur =& common_current_user(); + common_debug('cur = ' .print_r($cur, TRUE), __FILE__); $result = oid_link_user($cur->id, $display, $canonical); if (!$result) { - $this->message(_t('Error connecting user')); + $this->message(_t('Error connecting user.')); return; } if ($sreg) { -- cgit v1.2.3-54-g00ecf