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

Fixes #873 - Latest news Menu - hide brackets around comment count when comments are off.

This commit is contained in:
Cameron
2015-02-07 23:43:21 -08:00
parent f755bebe39
commit b9bd719900
2 changed files with 10 additions and 8 deletions

View File

@@ -721,8 +721,11 @@ class e_news_tree extends e_front_tree_model
$parser = e107::getParser();
$batch = e107::getScBatch('news')
->setScVar('param', $param);
$batch->wrapper('news_menu/latest'); //@SecretR - Please FIXME, I'm lost in here. (Cam)
$i = 1;
foreach ($this->getTree() as $news)
{
$vars->counter = $i;