From: kiko%async.com.br <> Date: Thu, 30 Oct 2003 09:31:57 +0000 (+0000) Subject: Fix for bug 67663: globals.pl and CGI.pl emit "subroutine redefined" X-Git-Tag: bugzilla-2.17.5~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f5d47f64e7687021df9fa76896ad02a5f7794a7;p=thirdparty%2Fbugzilla.git Fix for bug 67663: globals.pl and CGI.pl emit "subroutine redefined" messages. Fudge warnings via sillyness. r=myk, chaduv. a=myk. --- diff --git a/CGI.pl b/CGI.pl index bcd9a7f900..982b067b22 100644 --- a/CGI.pl +++ b/CGI.pl @@ -42,7 +42,7 @@ use Bugzilla::Error; sub CGI_pl_sillyness { my $zz; - $zz = %::dontchange; + $zz = $::buffer; } use CGI::Carp qw(fatalsToBrowser); diff --git a/globals.pl b/globals.pl index 14568a60e0..f9d19609c9 100644 --- a/globals.pl +++ b/globals.pl @@ -39,7 +39,6 @@ use Bugzilla::Config qw(:DEFAULT ChmodDataFile); sub globals_pl_sillyness { my $zz; - $zz = @main::SqlStateStack; $zz = @main::default_column_list; $zz = $main::defaultqueryname; $zz = @main::enterable_products;