summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-07 15:44:06 +0200
committergerv%gerv.net <>2002-10-07 15:44:06 +0200
commitc84c1809b5bda16318a5dad7be9440a1be4a5fc0 (patch)
treee20b71bc3f48376437ebd13ac63a3c614d873fca /buglist.cgi
parentb8851cdd5c15e0d21543d9fe08159b9ced8c950f (diff)
downloadbugzilla-c84c1809b5bda16318a5dad7be9440a1be4a5fc0.tar.gz
bugzilla-c84c1809b5bda16318a5dad7be9440a1be4a5fc0.tar.xz
Bug 172740 - "use of uninitialized variable" warnings. Patch by gerv; r=bbaetz.
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 8c8f52008..4e1a8eec4 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -83,7 +83,7 @@ else {
}
# Hack to support legacy applications that think the RDF ctype is at format=rdf.
-if ($::FORM{'format'} eq "rdf" && !$::FORM{'ctype'}) {
+if ($::FORM{'format'} && $::FORM{'format'} eq "rdf" && !$::FORM{'ctype'}) {
$::FORM{'ctype'} = "rdf";
delete($::FORM{'format'});
}