diff options
author | dmose%mozilla.org <> | 2000-03-31 09:56:36 +0200 |
---|---|---|
committer | dmose%mozilla.org <> | 2000-03-31 09:56:36 +0200 |
commit | a5782052f5e288a75b567b97b2f264fd55ad6611 (patch) | |
tree | 205d56efbb5a2effb088906e0824aa2c111778d9 | |
parent | ae2fc61bacb96a91978cc72fd860a5b6beb33903 (diff) | |
download | bugzilla-a5782052f5e288a75b567b97b2f264fd55ad6611.tar.gz bugzilla-a5782052f5e288a75b567b97b2f264fd55ad6611.tar.xz |
Fixed perl warning which occurs if $ENV{"CONTENT_TYPE"} is not set.
-rw-r--r-- | CGI.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -978,7 +978,7 @@ if (defined $ENV{"REQUEST_METHOD"}) { } ProcessFormFields $::buffer; } else { - if ($ENV{"CONTENT_TYPE"} =~ + if (exists($ENV{"CONTENT_TYPE"}) && $ENV{"CONTENT_TYPE"} =~ m@multipart/form-data; boundary=\s*([^; ]+)@) { ProcessMultipartFormFields($1); $::buffer = ""; |