From 0771a6f47a39169eb9ed1626e450241199222c56 Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Sat, 18 Dec 2004 01:52:42 +0000 Subject: [PATCH] Only show comment notice when there are comments --- include/comments.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/comments.php b/include/comments.php index da212cb..f35e532 100644 --- a/include/comments.php +++ b/include/comments.php @@ -240,8 +240,11 @@ function view_app_comments($appId, $versionId, $threadId = 0) echo '',"\n"; echo '',"\n"; echo html_frame_end(); - - echo '

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

'."\n"; + + if( $messageCount > 0 ) + { + echo '

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

'."\n"; + } //start comments echo '
',"\n";