1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Broken query string fix

This commit is contained in:
SecretR 2014-03-19 15:08:29 +02:00
parent a3b21913fe
commit a6fa26577f

View File

@ -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;