From 20356183eabe11ba827a6d28a403ebcbe7b8cfed Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 5 Jan 2012 17:03:55 +0100 Subject: [PATCH] Fixed a PostgreSQL issue --- .../system/database/editor/PostgreSQLDatabaseEditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/database/editor/PostgreSQLDatabaseEditor.class.php b/wcfsetup/install/files/lib/system/database/editor/PostgreSQLDatabaseEditor.class.php index 18eeea23d4..aae7fcb636 100644 --- a/wcfsetup/install/files/lib/system/database/editor/PostgreSQLDatabaseEditor.class.php +++ b/wcfsetup/install/files/lib/system/database/editor/PostgreSQLDatabaseEditor.class.php @@ -62,7 +62,7 @@ class PostgreSQLDatabaseEditor extends DatabaseEditor { $statement = $this->dbObj->prepareStatement($sql); $statement->execute(array($tableName)); while ($row = $statement->fetchArray()) { - $indices[] = $index['indexname']; + $indices[] = $row['indexname']; } return $indices; -- 2.20.1