mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fixes Comments not displaying on news or "Array" being displayed.
This commit is contained in:
@@ -1242,17 +1242,13 @@ class news_front
|
||||
$this->caption = $caption;
|
||||
$text = $cache_data;
|
||||
|
||||
$this->comments = $news;
|
||||
|
||||
//$text = $ns->tablerender($caption, $cache_data, 'news', true);
|
||||
}
|
||||
else
|
||||
{
|
||||
$text = $cache_data;
|
||||
$text .= $news;
|
||||
}
|
||||
|
||||
|
||||
$this->comments = $news;
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
Reference in New Issue
Block a user