]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
A null quip file was causing errors.
authorterry%mozilla.org <>
Tue, 15 Jun 1999 00:37:02 +0000 (00:37 +0000)
committerterry%mozilla.org <>
Tue, 15 Jun 1999 00:37:02 +0000 (00:37 +0000)
buglist.cgi

index dbc056e29259fb1d55f632d4649cef071b504b29..19fc96940d07b43d786a3e456d1bd5a8ad9602c1 100755 (executable)
@@ -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.";
 }