forgot to clone user
darcs-hash:20080626183721-34904-7c03b34e911ddb0c4adba959402d49476be932c1.gz
This commit is contained in:
parent
faf02d5126
commit
fcc12459ed
@ -241,9 +241,10 @@ class ImsettingsAction extends SettingsAction {
|
||||
}
|
||||
|
||||
$user->query('BEGIN');
|
||||
$original = clone($user);
|
||||
$user->jabber = NULL;
|
||||
$result = $user->updateKeys($original);
|
||||
if ($result === FALSE) {
|
||||
if (!$result) {
|
||||
common_log_db_error($user, 'UPDATE', __FILE__);
|
||||
common_server_error(_t('Couldnt update user.'));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user