aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/constants.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-11 18:04:56 -0400
committerJoas Schilling <nickvergessen@gmx.de>2013-07-11 18:04:56 -0400
commit54012dfb2f11e275e65078689a554f865562041e (patch)
tree7f116f1ac5b21ef3e2691f6dd3ca92a49936b34c /phpBB/includes/constants.php
parent0e5e128174f862f16069b56ef6f5b9803fe5cb9b (diff)
downloadforums-54012dfb2f11e275e65078689a554f865562041e.tar
forums-54012dfb2f11e275e65078689a554f865562041e.tar.gz
forums-54012dfb2f11e275e65078689a554f865562041e.tar.bz2
forums-54012dfb2f11e275e65078689a554f865562041e.tar.xz
forums-54012dfb2f11e275e65078689a554f865562041e.zip
[ticket/9657] Initialise variable outside of the loop
PHPBB3-9657
Diffstat (limited to 'phpBB/includes/constants.php')
0 files changed, 0 insertions, 0 deletions
ct>space:mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-01 15:04:05 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-01 15:04:05 +0000
commita763c2f6b76222de861766847b15ea9f4f12e69e (patch)
tree80e9626d5522d8e67de013d906c3cd230401cf8a /perl-install/any.pm
parentd09d5a5912fd657e56c193d28c40738132f81513 (diff)
downloaddrakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar
drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.gz
drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.bz2
drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.tar.xz
drakx-a763c2f6b76222de861766847b15ea9f4f12e69e.zip
(setupBootloader__entries) perl_checker cleanups
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 13de2d17b..f02a0b4d4 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -600,7 +600,7 @@ sub setupBootloader__entries {
my $Up = sub {
my ($e) = @_;
my @entries = @{$b->{entries}};
- my ($index) = grep { $entries[$_]->{label} eq $e->{label} } 0..$#entries;
+ my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries;
if ($index > 0) {
(@{$b->{entries}}->[$index - 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index - 1]);
}
@@ -610,7 +610,7 @@ sub setupBootloader__entries {
my $Down = sub {
my ($e) = @_;
my @entries = @{$b->{entries}};
- my ($index) = grep { $entries[$_]->{label} eq $e->{label} } 0..$#entries;
+ my ($index) = grep { $entries[$_]{label} eq $e->{label} } 0..$#entries;
if ($index < $#entries) {
(@{$b->{entries}}->[$index + 1], @{$b->{entries}}->[$index]) = (@{$b->{entries}}->[$index], @{$b->{entries}}->[$index + 1]);
}