aboutsummaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-08 10:05:20 +0000
committermyk%mozilla.org <>2002-11-08 10:05:20 +0000
commit090d07f52d8946b9f365b13e89fee6f78906054f (patch)
treead72308a31ed098d7e0ed46d183fb73a089b5b83 /duplicates.cgi
parent8f8766ab97ba1e4f55c0254e65131b5585c19a2e (diff)
downloadbugs-090d07f52d8946b9f365b13e89fee6f78906054f.tar
bugs-090d07f52d8946b9f365b13e89fee6f78906054f.tar.gz
bugs-090d07f52d8946b9f365b13e89fee6f78906054f.tar.bz2
bugs-090d07f52d8946b9f365b13e89fee6f78906054f.tar.xz
bugs-090d07f52d8946b9f365b13e89fee6f78906054f.zip
Fix for bug 178776: Eliminates warning in duplicates.cgi.
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index e95d4b02c..233022eca 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";