backport rev 12128 (should fix: Array was modified outside object and internal position is no longer valid)
This commit is contained in:
@@ -86,7 +86,7 @@ require_once './libraries/List.class.php';
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this as $key => $db) {
|
foreach ($this->getArrayCopy() as $key => $db) {
|
||||||
if (preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db)) {
|
if (preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db)) {
|
||||||
$this->offsetUnset($key);
|
$this->offsetUnset($key);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user