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:
@@ -1242,17 +1242,13 @@ class news_front
|
|||||||
$this->caption = $caption;
|
$this->caption = $caption;
|
||||||
$text = $cache_data;
|
$text = $cache_data;
|
||||||
|
|
||||||
$this->comments = $news;
|
|
||||||
|
|
||||||
//$text = $ns->tablerender($caption, $cache_data, 'news', true);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$text = $cache_data;
|
$text = $cache_data;
|
||||||
$text .= $news;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->comments = $news;
|
||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user