summaryrefslogtreecommitdiff
path: root/framework/I18N/core/HTTPNegotiator.php
diff options
context:
space:
mode:
authorknut <>2006-02-22 21:46:16 +0000
committerknut <>2006-02-22 21:46:16 +0000
commita30da2e71ad2ed23cbcb6011ab848ab888b2dd46 (patch)
tree1225b90b956f6489f504450bdd72ac63866224a5 /framework/I18N/core/HTTPNegotiator.php
parent45ddffcfc4ff5b732f9f39719430b461345c8f7a (diff)
Did some minor optimization tweaks
Diffstat (limited to 'framework/I18N/core/HTTPNegotiator.php')
-rw-r--r--framework/I18N/core/HTTPNegotiator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/core/HTTPNegotiator.php b/framework/I18N/core/HTTPNegotiator.php
index d9158969..f5eb876c 100644
--- a/framework/I18N/core/HTTPNegotiator.php
+++ b/framework/I18N/core/HTTPNegotiator.php
@@ -81,7 +81,7 @@ class HTTPNegotiator
}
else
{
- for($i = 0; $i<count($codes); $i++)
+ for($i = 0, $k = count($codes); $i<$k; ++$i)
{
if($i == 0)
$lang = strtolower($codes[0]);