mirror of
https://github.com/e107inc/e107.git
synced 2025-07-24 00:12:24 +02:00
Corrected issue with e_url when not using queries in the regex
This commit is contained in:
@@ -115,7 +115,10 @@
|
|||||||
$redirect = e107::getParser()->replaceConstants($newLocation);
|
$redirect = e107::getParser()->replaceConstants($newLocation);
|
||||||
list($file,$query) = explode("?",$redirect,2);
|
list($file,$query) = explode("?",$redirect,2);
|
||||||
|
|
||||||
parse_str($query,$_GET);
|
if(!empty($query))
|
||||||
|
{
|
||||||
|
parse_str($query,$_GET);
|
||||||
|
}
|
||||||
|
|
||||||
e107::getMessage()->addDebug('e_URL in <b>'.$plug.'</b> matched <b>'.$v['regex'].'</b> and included: <b>'.$file.'</b> with $_GET: '.print_a($_GET,true));
|
e107::getMessage()->addDebug('e_URL in <b>'.$plug.'</b> matched <b>'.$v['regex'].'</b> and included: <b>'.$file.'</b> with $_GET: '.print_a($_GET,true));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user