From fa8c54d63517b93ebd536d9c7bbf7bfaf8ccd635 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 20 Jun 2013 01:31:26 -0700 Subject: [PATCH] Notice removal (e_QUERY not defined) --- e107_handlers/e107_class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index f566af812..fcc83f838 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3219,9 +3219,11 @@ class e107 if ($no_cbrace) $e_QUERY = str_replace(array('{', '}', '%7B', '%7b', '%7D', '%7d'), '', rawurldecode($e_QUERY)); $e_QUERY = htmlentities(self::getParser()->post_toForm($e_QUERY)); + define('e_QUERY', $e_QUERY); + if(!deftrue("e_SINGLE_ENTRY")) { - define('e_QUERY', $e_QUERY); + $_SERVER['QUERY_STRING'] = e_QUERY; }