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); }