summaryrefslogtreecommitdiff
path: root/actions/finishaddopenid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 14:06:42 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 14:06:42 -0400
commit7ce5ed80811cd553940882b5ef5a1f7f235e71f2 (patch)
tree47cb361a0de8397b6a65b35cc3c704a787a4361f /actions/finishaddopenid.php
parent3a0c988cb33bc49597c33afc9e9b0837edbb8d7d (diff)
small debugging and messaging fixes
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz
Diffstat (limited to 'actions/finishaddopenid.php')
-rw-r--r--actions/finishaddopenid.php3
1 files changed, 2 insertions, 1 deletions
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) {