1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Forum: PHP7 parser fix.

This commit is contained in:
Cameron
2016-02-15 19:59:47 -08:00
parent 9f96a70e76
commit 1e9da76395
5 changed files with 39 additions and 23 deletions

View File

@@ -724,7 +724,7 @@ if ($e107_popup != 1) {
// M: Send top of body for custom pages and for news
//
//XXX - remove all page detections
if (e_PAGE == 'news.php' && isset($NEWSHEADER))
if (defset('e_PAGE') == 'news.php' && isset($NEWSHEADER))
{
parseheader($NEWSHEADER);
}