1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 09:10:23 +02:00

PHP Notice and BC Fixes.

This commit is contained in:
Cameron
2016-04-19 16:57:44 -07:00
parent 8023a87aa1
commit 716678a3b7
6 changed files with 51 additions and 11 deletions

View File

@@ -23,9 +23,11 @@ if(isset($parms['caption'][e_LANGUAGE]))
$limit = vartrue($parms['count'],5);
$tp = e107::getParser();
$template = e107::getTemplate('news', 'news_menu', 'carousel');
$template = e107::getTemplate('news', 'news_menu', 'carousel', false, true);
$nobody_regexp = "'(^|,)(".str_replace(",", "|", e_UC_NOBODY).")(,|$)'";
e107::getDebug()->log("News Carousel Menu ".print_a($parms,true));
$query = "
SELECT n.*, nc.category_id, nc.category_name, nc.category_sef, nc.category_icon,