From 4f9eb57c1539700cfb2a7c30ad46e018ddf70fb5 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 18 Jun 2007 16:36:41 +0000 Subject: [PATCH] do not use getItems() in this case --- libraries/List_Database.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php index 26c19ff08..63506fa06 100644 --- a/libraries/List_Database.class.php +++ b/libraries/List_Database.class.php @@ -91,7 +91,7 @@ require_once './libraries/List.class.php'; */ function _checkAccess() { - foreach ($this->getItems() as $key => $db) { + foreach ($this->items as $key => $db) { if (! @PMA_DBI_select_db($db, $this->_db_link_user)) { unset($this->items[$key]); } @@ -117,7 +117,7 @@ require_once './libraries/List.class.php'; return; } - foreach ($this->getItems() as $key => $db) { + foreach ($this->items as $key => $db) { if (preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db)) { unset($this->items[$key]); }