this looks silly in a fresh install
This commit is contained in:
parent
3af5caf523
commit
3086f7393d
@ -111,7 +111,10 @@ class CommentList implements Extension {
|
|||||||
global $config;
|
global $config;
|
||||||
$cc = $config->get_int("comment_count");
|
$cc = $config->get_int("comment_count");
|
||||||
if($cc > 0) {
|
if($cc > 0) {
|
||||||
$this->theme->display_recent_comments($event->page, $this->get_recent_comments($cc));
|
$recent = $this->get_recent_comments($cc);
|
||||||
|
if(count($recent) > 0) {
|
||||||
|
$this->theme->display_recent_comments($event->page, $recent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user