The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
user_settings.php (v4.3.4) bug
#1
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">
  Reply


Messages In This Thread
user_settings.php (v4.3.4) bug - by Jeff - 11-21-2017, 10:56 AM
user_settings.php (v4.3.4) bug - by mudmin - 11-21-2017, 02:50 PM
user_settings.php (v4.3.4) bug - by mudmin - 11-27-2017, 03:52 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)