Commit ed794dfd authored by Alan McNatty's avatar Alan McNatty

Load the user account details each time .. they may have changed

parent 457ff773
......@@ -36,7 +36,7 @@ define('TITLE', get_string('account'));
require_once('pieforms/pieform.php');
// load up user preferences
$prefs = (object)($USER->accountprefs);
$prefs = (object) load_account_preferences($USER->id);
$authobj = AuthFactory::create($USER->authinstance);
......
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