From: Alexandre Emsenhuber Date: Sun, 22 Aug 2010 08:32:29 +0000 (+0000) Subject: Oops, forgot to change this in r71426 X-Git-Tag: 1.31.0-rc.0~35389 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=c815ad86969fd182a7e3f3d0105c6e45c92aa0e4;p=lhc%2Fweb%2Fwiklou.git Oops, forgot to change this in r71426 --- diff --git a/includes/installer/PostgresUpdater.php b/includes/installer/PostgresUpdater.php index a12eba799e..04f8053bdd 100644 --- a/includes/installer/PostgresUpdater.php +++ b/includes/installer/PostgresUpdater.php @@ -464,7 +464,7 @@ END; } public function addPgExtIndex( $table, $index, $type ) { - if ( $this->db->indexExists( $table, $ni[1] ) ) { + if ( $this->db->indexExists( $table, $index ) ) { wfOut( "... index \"$index\" on table \"$table\" already exists\n" ); } else { wfOut( "Creating index \"$index\" on table \"$table\"\n" );