From: bugreport%peshkin.net <> Date: Thu, 22 Jul 2004 14:08:46 +0000 (+0000) Subject: Bug 252388: Fix undef warning when Bugzilla->cgi->header() is called twice X-Git-Tag: bugzilla-2.18rc2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a7bd7a04a5e030a82c062601566281fc848b363;p=thirdparty%2Fbugzilla.git Bug 252388: Fix undef warning when Bugzilla->cgi->header() is called twice r=jouni a=justdave --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 21cfa19b2b..537c67da58 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -142,7 +142,7 @@ sub header { unshift(@_, '-cookie' => $self->{Bugzilla_cookie_list}); } - return $self->SUPER::header(@_); + return $self->SUPER::header(@_) || ""; } # We override the entirety of multipart_start instead of falling through to