summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink <link@localhost>2005-02-04 21:03:07 +0000
committerlink <link@localhost>2005-02-04 21:03:07 +0000
commitfba85b3e9e7c3a1f96bff4833e16450495200ee5 (patch)
treefe56723452416209eba7f8514acaeee2617fe758
parent8e5a977ba803843e249cb10dd879416d57e1d61b (diff)
downloadmarkup-validator-fba85b3e9e7c3a1f96bff4833e16450495200ee5.zip
markup-validator-fba85b3e9e7c3a1f96bff4833e16450495200ee5.tar.gz
markup-validator-fba85b3e9e7c3a1f96bff4833e16450495200ee5.tar.bz2
Refer to correct var to determine output format (typo fix).
-rwxr-xr-xhttpd/cgi-bin/check6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 33165f0..4c89d29 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.385 2005-02-04 21:01:54 link Exp $
+# $Id: check,v 1.386 2005-02-04 21:03:07 link Exp $
#
# Disable buffering on STDOUT!
@@ -239,7 +239,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.385 $;
+ $VERSION = q$Revision: 1.386 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -2908,7 +2908,7 @@ sub abort_if_error_flagged {
return unless $File->{'Error Flagged'};
return if $File->{'Error Message'} eq ''; # Previous error, keep going.
- if ($File->{Output} eq 'html') {
+ if ($File->{Opt}->{Output} eq 'html') {
&prep_template($File, $E);
$E->param(error_message => $File->{'Error Message'});