1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-13 00:52:07 +02:00

Corrected issue with e_url when not using queries in the regex

This commit is contained in:
Cameron 2014-10-22 14:00:08 -07:00
parent cd41adedf5
commit be970117ff

View File

@ -115,7 +115,10 @@
$redirect = e107::getParser()->replaceConstants($newLocation);
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));