mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
Fix for success alert message after maintenance message/status modified.
This commit is contained in:
@@ -51,18 +51,19 @@ if(isset($_POST['updatesettings']))
|
||||
{
|
||||
e107::getLog()->add(($pref['maintainance_flag'] == 0) ? 'MAINT_02' : 'MAINT_01', $pref['maintainance_text'], E_LOG_INFORMATIVE, '');
|
||||
save_prefs();
|
||||
$mes->addSuccess(UGFLAN_1);
|
||||
// $mes->addSuccess(UGFLAN_1);
|
||||
}
|
||||
else
|
||||
{
|
||||
$mes->addInfo(LAN_NO_CHANGE);
|
||||
}
|
||||
|
||||
$pref = e107::getConfig('core', true, true)->getPref();
|
||||
|
||||
if(!e_AJAX_REQUEST)
|
||||
{
|
||||
header("location:".e_SELF);
|
||||
exit();
|
||||
// header("location:".e_SELF);
|
||||
// exit();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user