Skip to content

Commit

Permalink
Bug: 13548 Fix variable name in for loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 8, 2014
1 parent 6f5684b commit 2889fe6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ingo/lib/Session.php
Expand Up @@ -123,10 +123,10 @@ static protected function _getBackend()
$backend = $val;
} elseif (!empty($val['preferred'])) {
if (is_array($val['preferred'])) {
foreach ($val['preferred'] as $val) {
if (($val == $_SERVER['SERVER_NAME']) ||
($val == $_SERVER['HTTP_HOST'])) {
$backend = $val;
foreach ($val['preferred'] as $v) {
if (($v == $_SERVER['SERVER_NAME']) ||
($v == $_SERVER['HTTP_HOST'])) {
$backend = $v;
}
}
} elseif (($val['preferred'] == $_SERVER['SERVER_NAME']) ||
Expand Down

0 comments on commit 2889fe6

Please sign in to comment.