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:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user