Followup r71426, not $nc it's $fieldRecord
authorSam Reed <reedy@users.mediawiki.org>
Thu, 14 Oct 2010 20:31:34 +0000 (20:31 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 14 Oct 2010 20:31:34 +0000 (20:31 +0000)
includes/installer/PostgresUpdater.php

index ce36374..d2df103 100644 (file)
@@ -238,7 +238,7 @@ class PostgresUpdater extends DatabaseUpdater {
                }
 
                # Add missing extension fields
-               foreach ( $wgExtPGNewFields as $nc ) {
+               foreach ( $wgExtPGNewFields as $fieldRecord ) {
                        $updates[] = array(
                                        'addPgField', $fieldRecord[0], $fieldRecord[1],
                                        $fieldRecord[2]