From 8a3bc3f2d2364b3175ba85832a4a4bc59eecf52a Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Thu, 20 Nov 2003 14:22:14 +0000 Subject: Bug 226249: buglist.cgi warning (use uninitialized value) line 97 for no ctype defined; r=kiko; a=justdave. --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buglist.cgi b/buglist.cgi index 2183d5a79..246bf64c9 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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(); } -- cgit v1.2.3-24-g4f1b