diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php index 10edebd11..6528f006f 100644 --- a/libraries/List_Database.class.php +++ b/libraries/List_Database.class.php @@ -88,7 +88,7 @@ require_once './libraries/List.class.php'; return; } - foreach ($this as $key => $db) { + foreach ($this->getArrayCopy() as $key => $db) { if (preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db)) { $this->offsetUnset($key); }