From 121e00ae545e6f74119cbf9ed4850d92f395665f Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 3 Mar 2008 14:53:42 +0000 Subject: Fixed install issue git-svn-id: https://code.elgg.org/elgg/trunk@59 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/lib') diff --git a/engine/lib/database.php b/engine/lib/database.php index 1d78ac310..431e535d0 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -259,6 +259,7 @@ * @return array List of tables */ function get_db_tables() { + global $CONFIG; $result = get_data("show tables"); $result = (array) $result; @@ -266,6 +267,7 @@ if (is_array($result) && !empty($result)) { foreach($result as $row) { + $row = (array) $row; if (is_array($row) && !empty($row)) foreach($row as $element) { $tables[] = $element; -- cgit v1.2.3