summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
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'});
}