Update settings.php

This commit is contained in:
Guillaume 2019-01-26 23:40:59 +01:00 committed by GitHub
parent 0a643f7543
commit 5ee1839180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ checkRole(array('admin'));
if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($_SERVER['REQUEST_METHOD'] == 'POST') {
editSettings($_POST); editSettings($_POST);
Redirect::page('settings'.$_POST['hash']); Redirect::page('settings'.(isset($_POST['hash'])?$_POST['hash']:''));
} }
// ============================================================================ // ============================================================================
@ -28,4 +28,4 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
// ============================================================================ // ============================================================================
// Title of the page // Title of the page
$layout['title'] .= ' - '.$L->g('Advanced Settings'); $layout['title'] .= ' - '.$L->g('Advanced Settings');