From 7ce5ed80811cd553940882b5ef5a1f7f235e71f2 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 18 Jun 2008 14:06:42 -0400 Subject: [PATCH] small debugging and messaging fixes darcs-hash:20080618180642-84dde-1e8ee16d2b6497c71854486a687545d948340d69.gz --- actions/finishaddopenid.php | 3 ++- actions/openidsettings.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php index 4f167e9efc..f2965f0e46 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 0737f21484..742ef2757b 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; -- 2.39.5