From: myk%mozilla.org <> Date: Fri, 8 Nov 2002 10:05:20 +0000 (+0000) Subject: Fix for bug 178776: Eliminates warning in duplicates.cgi. X-Git-Tag: bugzilla-2.17.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=090d07f52d8946b9f365b13e89fee6f78906054f;p=thirdparty%2Fbugzilla.git Fix for bug 178776: Eliminates warning in duplicates.cgi. --- diff --git a/duplicates.cgi b/duplicates.cgi index e95d4b02c5..233022eca4 100755 --- a/duplicates.cgi +++ b/duplicates.cgi @@ -37,7 +37,7 @@ use vars qw($buffer); # Go directly to the XUL version of the duplicates report (duplicates.xul) # if the user specified ctype=xul. Adds params if they exist, and directs # the user to a signed copy of the script in duplicates.jar if it exists. -if ($::FORM{'ctype'} eq "xul") { +if ($::FORM{'ctype'} && $::FORM{'ctype'} eq "xul") { my $params = CanonicaliseParams($::buffer, ["format", "ctype"]); print "Location: " . (-e "duplicates.jar" ? "duplicates.jar!/" : "") . "duplicates.xul" . ($params ? "?$params" : "") . "\n\n";