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