Debug v23
This commit is contained in:
parent
f357e61773
commit
0bbbdabea4
1 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,7 @@ if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg)) {
|
|||
}
|
||||
|
||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||
exit();
|
||||
exit;
|
||||
} elseif ($action == "updateform" && GETPOST("btn_MAIN_SECURITY_FORCECSP")) {
|
||||
$directivecsp = GETPOST("select_identifier_MAIN_SECURITY_FORCECSP");
|
||||
$sourcecsp = GETPOST("select_source_MAIN_SECURITY_FORCECSP");
|
||||
|
|
@ -224,8 +224,8 @@ if (preg_match('/set_([a-z0-9_\-]+)/i', $action, $reg)) {
|
|||
$db->commit();
|
||||
setEventMessages($langs->trans("Saved"), null, 'mesgs');
|
||||
|
||||
header("Location: ")
|
||||
exit();
|
||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||
exit;
|
||||
} else {
|
||||
$db->rollback();
|
||||
setEventMessages($langs->trans("ErrorSavingChanges"), null, 'errors');
|
||||
|
|
|
|||
Loading…
Reference in a new issue