summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 0882a967c..76c53627d 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -1201,7 +1201,8 @@ sub PutFooter {
sub DisplayError {
my ($message, $title) = (@_);
$title ||= "Error";
-
+ $message ||= "An unknown error occurred.";
+
print "Content-type: text/html\n\n";
PutHeader($title);