diff options
author | terry%mozilla.org <> | 1999-06-15 02:37:02 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-06-15 02:37:02 +0200 |
commit | 991e9d13f2bf7f7dafde5fc602b1612a3f88943c (patch) | |
tree | e401e4eb3ab02396dd15b91b39c9efa16e8fc649 /buglist.cgi | |
parent | c9470b0400e94e5629f24592b8e438e8eca5851c (diff) | |
download | bugzilla-991e9d13f2bf7f7dafde5fc602b1612a3f88943c.tar.gz bugzilla-991e9d13f2bf7f7dafde5fc602b1612a3f88943c.tar.xz |
A null quip file was causing errors.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 3 |
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."; } |