From d3450a5e4ab106beb32407bfc6b1f8aabb709ac6 Mon Sep 17 00:00:00 2001 From: SecretR Date: Thu, 24 Jul 2014 20:43:01 +0300 Subject: [PATCH] PHP notice fix --- e107_handlers/e107_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index ef259b453..33e370bba 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -3169,7 +3169,7 @@ class e107 // go back to e_SELF $requestUri = $eSelf; $requestUrl = $_self; - if (e_QUERY) + if(defset('e_QUERY')) { $requestUri .= '?'.e_QUERY; // TODO e_SINGLE_ENTRY check, separate static method for cleaning QUERY_STRING $requestUrl .= '?'.e_QUERY; @@ -3190,7 +3190,7 @@ class e107 { $requestUri = str_replace('['.e_MENU.']', '', $requestUri); $requestUrl = str_replace('['.e_MENU.']', '', $requestUrl); - parse_str(e_QUERY,$_GET); + if(defset('e_QUERY')) parse_str(e_QUERY,$_GET); } // the last anti-XSS measure, XHTML compliant URL to be used in forms instead e_SELF