mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
Fixes #566 - prefs not being saved in some plugins.
This commit is contained in:
@@ -55,7 +55,7 @@ if(isset($_POST['updateprefs']))
|
||||
$temp['auth_badpassword'] = intval($_POST['auth_badpassword']);
|
||||
if ($admin_log->logArrayDiffs($temp, $pref, 'AUTH_01'))
|
||||
{
|
||||
save_prefs(); // Only save if changes @TODO:
|
||||
e107::getConfig('core')->setPref($temp)->save(false);
|
||||
header('location:'.e_SELF);
|
||||
exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user