File: phpbb/template/context.php
Unmodified
Added
Modified
Removed
Line 384 | Line 384 |
---|
if (is_array($key)) { // Search array to get correct position
|
if (is_array($key)) { // Search array to get correct position
|
list($search_key, $search_value) = @each($key);
| $search_key = key($key); $search_value = current($key);
|
foreach ($block as $i => $val_ary) { if ($val_ary[$search_key] === $search_value)
| foreach ($block as $i => $val_ary) { if ($val_ary[$search_key] === $search_value)
|
Line 481 | Line 483 |
---|
if (is_array($key)) { // Search array to get correct position
|
if (is_array($key)) { // Search array to get correct position
|
list($search_key, $search_value) = @each($key);
| $search_key = key($key); $search_value = current($key);
|
$key = null; foreach ($block as $i => $val_ary)
| $key = null; foreach ($block as $i => $val_ary)
|