A null quip file was causing errors.
git-svn-id: svn://10.0.0.236/trunk@35142 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user