1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Fixes Comments not displaying on news or "Array" being displayed.

This commit is contained in:
Cameron
2019-07-04 09:48:00 -07:00
parent a134a2815d
commit 294d452f9c

View File

@@ -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;
}