whitespace and debugging changes

darcs-hash:20080620064824-84dde-1d349cf2add75fbffa7cc763fb5ac8776cce4d03.gz
This commit is contained in:
Evan Prodromou 2008-06-20 02:48:24 -04:00
parent 940b14952a
commit f72329a13d
2 changed files with 50 additions and 49 deletions

View File

@ -50,6 +50,7 @@ class ConfirmemailAction extends Action {
$cur->query('BEGIN');
$orig_user = clone($cur);
$cur->email = $confirm_email->email;
common_debug('cur email = "' . $cur->email . '"', __FILE__);
$result = $cur->update($orig_user);
if (!$result) {
$this->server_error(_t('Error setting email address.'));