/*=====================================================================*\
|| ###################################################################
|| # Bugdar
-|| # Copyright ©2002-2007 Blue Static
+|| # Copyright (c)2004-2009 Blue Static
|| #
|| # This program is free software; you can redistribute it and/or modify
|| # it under the terms of the GNU General Public License as published by
'bugfield_static_text'
);
-define('SVN', '$Id$');
$focus['showreport'] = 'focus';
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);
);
$tpl->evaluate()->flush();
-/*=====================================================================*\
-|| ###################################################################
-|| # $HeadURL$
-|| # $Id$
-|| ###################################################################
-\*=====================================================================*/
?>
\ No newline at end of file