mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16277] Move from each() function
PHPBB3-16277
This commit is contained in:
@@ -285,7 +285,7 @@ class diff_engine
|
||||
$matches = $ymatches[$line];
|
||||
|
||||
reset($matches);
|
||||
while (list(, $y) = each($matches))
|
||||
while ($y = current($matches))
|
||||
{
|
||||
if (empty($this->in_seq[$y]))
|
||||
{
|
||||
@@ -296,7 +296,7 @@ class diff_engine
|
||||
}
|
||||
|
||||
// no reset() here
|
||||
while (list(, $y) = each($matches))
|
||||
while ($y = current($matches))
|
||||
{
|
||||
if ($y > $this->seq[$k - 1])
|
||||
{
|
||||
|
Reference in New Issue
Block a user