aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-01-29 17:22:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-01-29 17:22:55 +0100
commit92f99c97f41cd090743b4ba4e6048bf6b948115b (patch)
tree5eb91127efa4607309cf88a16c3c9164e526c967 /phpBB/includes
parentafc856417f89114d7ea56eb0b290f7604dba0d6b (diff)
downloadforums-92f99c97f41cd090743b4ba4e6048bf6b948115b.tar
forums-92f99c97f41cd090743b4ba4e6048bf6b948115b.tar.gz
forums-92f99c97f41cd090743b4ba4e6048bf6b948115b.tar.bz2
forums-92f99c97f41cd090743b4ba4e6048bf6b948115b.tar.xz
forums-92f99c97f41cd090743b4ba4e6048bf6b948115b.zip
[ticket/9949] $user->lang() uses last int-value to get the key not first
The comment in the code says: "We now get the first number passed and will select the key based upon this number". But the loop over the arguments is not left and therefore it uses the last int-value not the first one. PHPBB3-9949
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index 5f5b39fe27..1dc854caf2 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1966,6 +1966,7 @@ class user extends session
$key_found = $num;
}
+ break;
}
}