diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 14:53:42 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 14:53:42 +0000 |
commit | 121e00ae545e6f74119cbf9ed4850d92f395665f (patch) | |
tree | f900235c223dc62654b6ff7073c80fb2562576f4 /engine/lib/database.php | |
parent | 5c8835b8dc82f5a03ef8bb4cf9776735547eafb3 (diff) | |
download | elgg-121e00ae545e6f74119cbf9ed4850d92f395665f.tar.gz elgg-121e00ae545e6f74119cbf9ed4850d92f395665f.tar.bz2 |
Fixed install issue
git-svn-id: https://code.elgg.org/elgg/trunk@59 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 2 |
1 files changed, 2 insertions, 0 deletions
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;
|