diff options
author | mkanat%bugzilla.org <> | 2006-07-06 13:12:04 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-07-06 13:12:04 +0000 |
commit | f162521444148d622df3b42a8304b6cce8f2150e (patch) | |
tree | 78cf6a0bfad99a4f053c998b98efe36929475005 /buglist.cgi | |
parent | 5e55e7bc89682617a14d5fbc3b6098c12ce1aece (diff) | |
download | bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.gz bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.bz2 bugs-f162521444148d622df3b42a8304b6cce8f2150e.tar.xz bugs-f162521444148d622df3b42a8304b6cce8f2150e.zip |
Bug 173629: Clean up "my" variable scoping issues for mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi index 937749d28..1a7ffc316 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -186,7 +186,7 @@ foreach my $chart (@charts) { # Utilities ################################################################################ -my @weekday= qw( Sun Mon Tue Wed Thu Fri Sat ); +local our @weekday= qw( Sun Mon Tue Wed Thu Fri Sat ); sub DiffDate { my ($datestr) = @_; my $date = str2time($datestr); @@ -520,7 +520,7 @@ if (!$params->param('query_format')) { # Note: For column names using aliasing (SQL "<field> AS <alias>"), the column # ID needs to be identical to the field ID for list ordering to work. -my $columns = {}; +local our $columns = {}; sub DefineColumn { my ($id, $name, $title) = @_; $columns->{$id} = { 'name' => $name , 'title' => $title }; |