diff options
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |