From 0aac19b33dedef7c14a0e84e92b5dd0c9e8d535f Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Fri, 21 May 2021 18:50:54 +0200 Subject: [PATCH] fixed and close #21 --- conlite/includes/globals_off.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conlite/includes/globals_off.inc.php b/conlite/includes/globals_off.inc.php index 0e8e3cd..9f573f4 100644 --- a/conlite/includes/globals_off.inc.php +++ b/conlite/includes/globals_off.inc.php @@ -43,7 +43,7 @@ if (!isset($HTTP_POST_VARS) && isset($_POST)) { } } -if (!isset($_REQUEST) || $cfg['simulate_magic_quotes']) { +if (!isset($_REQUEST) || (isset($cfg['simulate_magic_quotes']) && $cfg['simulate_magic_quotes'])) { /* Register post,get and cookie variables into $_REQUEST */ $_REQUEST = array_merge($_GET, $_POST, $_COOKIE); }