From: Marcel Werk Date: Thu, 5 Jan 2012 16:03:55 +0000 (+0100) Subject: Fixed a PostgreSQL issue X-Git-Tag: 2.0.0_Beta_1~1445^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=20356183eabe11ba827a6d28a403ebcbe7b8cfed;p=GitHub%2FWoltLab%2FWCF.git Fixed a PostgreSQL issue --- 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;