]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 226249: buglist.cgi warning (use uninitialized value) line 97 for no ctype define...
authorjocuri%softhome.net <>
Thu, 20 Nov 2003 14:22:14 +0000 (14:22 +0000)
committerjocuri%softhome.net <>
Thu, 20 Nov 2003 14:22:14 +0000 (14:22 +0000)
buglist.cgi

index 2183d5a790566ed108f1df3ae856de0d78abaf23..246bf64c9630d7a1664bd687281fbb3034338b20 100755 (executable)
@@ -94,7 +94,7 @@ if ($::FORM{'format'} && $::FORM{'format'} eq "rdf" && !$::FORM{'ctype'}) {
 #
 # Note that if and when this call clears cookies or has other persistent 
 # effects, we'll need to do this another way instead.
-if ($::FORM{'ctype'} eq "js") {
+if ((exists $::FORM{'ctype'}) && ($::FORM{'ctype'} eq "js")) {
     Bugzilla->logout();
 }