The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
user_settings.php (v4.3.4) bug - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: user_settings.php (v4.3.4) bug (/showthread.php?tid=842) |
user_settings.php (v4.3.4) bug - Jeff - 11-21-2017 When you update your user settings, and success messages are displayed on selecting Update, the updated values are saved but the screen does not show the updated values. file: users/user-settings.php Change from: (approx line 230) $errors[]="Current password verification failed. Update failed. Please try again."; } } $userdetails=$user->data(); } $userdetails=$user->data(); } ?> <div id="page-wrapper"> <div class="container"> To $errors[]="Current password verification failed. Update failed. Please try again."; } } //$userdetails=$user->data(); (Don't think this is needed?) } //$userdetails=$user->data(); (Don't think this is needed?) } // mod to allow edited values to be shown in form after update $user2 = new User(); $userdetails=$user2->data(); ?> <div id="page-wrapper"> <div class="container"> user_settings.php (v4.3.4) bug - mudmin - 11-21-2017 Thanks for this! I'll get it patched! user_settings.php (v4.3.4) bug - mudmin - 11-27-2017 I got this patched. Thank you! |