Commit 8a3bc3f2 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Bug 226249: buglist.cgi warning (use uninitialized value) line 97 for no ctype…

Bug 226249: buglist.cgi warning (use uninitialized value) line 97 for no ctype defined; r=kiko; a=justdave.
parent d0c14a97
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment