summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index dbc056e29..19fc96940 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -619,7 +619,8 @@ if (open (COMMENTS, "<data/comments")) {
}
close COMMENTS;
$quip = $cdata[int(rand($#cdata + 1))];
-} else {
+}
+if (!defined $quip) {
$quip = "Bugzilla would like to put a random quip here, but nobody has entered any.";
}