1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

PHp Notices

This commit is contained in:
Cameron
2016-02-16 11:10:30 -08:00
parent 67358e6f9a
commit 39bae789f8
3 changed files with 15 additions and 6 deletions

View File

@@ -309,7 +309,7 @@ class eFront
{
if(null !== $status)
{
if($status[0] === '{')
if(!empty($status[0]) && ($status[0] === '{'))
{
$status = e107::getParser()->replaceConstants($status);
}
@@ -3585,9 +3585,17 @@ class eRequest
{
$qstring = self::getQueryString();
}
define("e_SELF", e_REQUEST_SELF);
define("e_QUERY", $qstring);
if(!defined('e_SELF'))
{
define("e_SELF", e_REQUEST_SELF);
}
if(!defined('e_QUERY'))
{
define("e_QUERY", $qstring);
}
$_SERVER['QUERY_STRING'] = e_QUERY;
if(strpos(e_QUERY,"=")!==false ) // Fix for legacyQuery using $_GET ie. ?x=y&z=1 etc.