diff --git a/e107_handlers/application.php b/e107_handlers/application.php index ed4277b28..71a5de2e6 100644 --- a/e107_handlers/application.php +++ b/e107_handlers/application.php @@ -3573,7 +3573,7 @@ class eRequest */ public function setLegacyQstring($qstring = null) { - if(defined('e_QUERY')) return $this;; + if(defined('e_QUERY')) return $this; if(null === $qstring) { @@ -3586,7 +3586,7 @@ class eRequest if(strpos(e_QUERY,"=")!==false ) // Fix for legacyQuery using $_GET ie. ?x=y&z=1 etc. { - parse_str(e_QUERY,$tmp); + parse_str(str_replace(array('&'), array('&'), e_QUERY),$tmp); foreach($tmp as $key=>$value) { $_GET[$key] = $value;