diff options
Diffstat (limited to 'modules/user/user.pages.inc')
-rw-r--r-- | modules/user/user.pages.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index 0f42729a2..949a9fcef 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -277,6 +277,7 @@ function user_profile_form_submit($form, &$form_state) { $edit = (array)$edit; user_save($account, $edit, $category); + $form_state['values']['uid'] = $account->uid; // Clear the page cache because pages can contain usernames and/or profile information: cache_clear_all(); |