summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2003-11-20 15:22:14 +0100
committerjocuri%softhome.net <>2003-11-20 15:22:14 +0100
commit8a3bc3f2d2364b3175ba85832a4a4bc59eecf52a (patch)
tree8353c05e4590ee6e6be6b602e4a0f84d67759d33 /buglist.cgi
parentd0c14a97593f2f005d7f819d70f90fda0f053ed1 (diff)
downloadbugzilla-8a3bc3f2d2364b3175ba85832a4a4bc59eecf52a.tar.gz
bugzilla-8a3bc3f2d2364b3175ba85832a4a4bc59eecf52a.tar.xz
Bug 226249: buglist.cgi warning (use uninitialized value) line 97 for no ctype defined; r=kiko; a=justdave.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
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();
}