We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2080f52c authored by Evan Prodromou's avatar Evan Prodromou

try to fix updating in profile

darcs-hash:20080519122445-84dde-b6505e0b8ea310eee50eb6e638238fb7cf93bead.gz
parent 88483fe3
......@@ -80,5 +80,6 @@ class LoginAction extends Action {
'id' => 'cancel',
'value' => _t('Cancel')));
common_element_end('form');
common_show_footer();
}
}
......@@ -67,11 +67,13 @@ class ProfilesettingsAction extends SettingsAction {
# FIXME: scrub input
# FIXME: transaction!
$original = clone($user);
$user->nickname = $this->arg('nickname');
$user->email = $this->arg('email');
if (!$user->update()) {
if (!$user->update($original)) {
common_server_error(_t('Couldnt update user.'));
return;
}
......
......@@ -94,6 +94,8 @@
- receive notices from mobile phone
- machine tags
- release 0.5
- Twitter-compatible API
- Pownce-compatible API
- include twitter subscriptions
- include Pownce subscriptions
- privacy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment