Commit 991e9d13 authored by terry%mozilla.org's avatar terry%mozilla.org

A null quip file was causing errors.

parent c9470b04
...@@ -619,7 +619,8 @@ if (open (COMMENTS, "<data/comments")) { ...@@ -619,7 +619,8 @@ if (open (COMMENTS, "<data/comments")) {
} }
close COMMENTS; close COMMENTS;
$quip = $cdata[int(rand($#cdata + 1))]; $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."; $quip = "Bugzilla would like to put a random quip here, but nobody has entered any.";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment