AND !hidden" : '') . "
ORDER BY comment.dateline ASC"
);
+$description = null;
foreach ($comments_fetch as $comment)
{
$comment['posttime'] = $datef->format(bugdar::$options['dateformat'], $comment['dateline']);
$tpl = new BSTemplate('showreport_comment');
$tpl->vars = array('comment' => $comment);
- $comments .= $tpl->evaluate()->getTemplate();
+ $temp = $tpl->evaluate()->getTemplate();
+ if ($description == null)
+ {
+ $description = $temp;
+ }
+ else
+ {
+ $comments .= $temp;
+ }
}
$show['newreply'] = (can_perform('canpostcomments', $bug['productid']) ? true : false);