summaryrefslogtreecommitdiff
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
parent3a0c988cb33bc49597c33afc9e9b0837edbb8d7d (diff)
small debugging and messaging fixes
darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz
-rw-r--r--actions/finishaddopenid.php3
-rw-r--r--actions/openidsettings.php2
2 files changed, 3 insertions, 2 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) {
diff --git a/actions/openidsettings.php b/actions/openidsettings.php
index 0737f2148..742ef2757 100644
--- a/actions/openidsettings.php
+++ b/actions/openidsettings.php
@@ -65,7 +65,7 @@ class OpenidsettingsAction extends SettingsAction {
common_element('h2', NULL, _t('OpenID'));
common_element('p', NULL,
- _t('You can remove an OpenID from your account ',
+ _t('You can remove an OpenID from your account '.
'by clicking the button marked "Delete" next to it.'));
$idx = 0;