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:
parent
a3b21913fe
commit
a6fa26577f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user