]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for PG filtering
authorBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 23:21:24 +0000 (16:21 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 13 Oct 2010 23:21:24 +0000 (16:21 -0700)
lib/pgsqlschema.php

index e8711a6f856ea536ebaa98c7d320a9a0113918b2..4fde80b55a79604beebfc01130cd52df97308c2c 100644 (file)
@@ -417,7 +417,7 @@ class PgsqlSchema extends Schema
      */
     function filterDef(array $tableDef)
     {
-        foreach (array_keys($tableDef['fields']) as $name => &$col) {
+        foreach ($tableDef['fields'] as $name => &$col) {
             // No convenient support for field descriptions
             unset($col['description']);