1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Issue #2678 - News Menu Template loading consistency.

This commit is contained in:
Cameron
2018-01-19 11:08:32 -08:00
parent 491fc31712
commit 5343fe80e0
5 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ if(false === $cached)
$parms['tmpl_key'] = 'latest';
}
$template = e107::getTemplate('news', $parms['tmpl'], $parms['tmpl_key']);
$template = e107::getTemplate('news', $parms['tmpl'], $parms['tmpl_key'], true, true);
$treeparm = array();
if(vartrue($parms['count'])) $treeparm['db_limit'] = '0, '.intval($parms['count']);