DatabaseColumns.php
authorAlan Knowles <alan@roojs.com>
Thu, 12 Jun 2014 06:17:20 +0000 (14:17 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 Jun 2014 06:17:20 +0000 (14:17 +0800)
DatabaseColumns.php

index 4eae818..1115d70 100644 (file)
@@ -41,7 +41,7 @@ class Pman_Core_DatabaseColumns extends Pman {
                 if (!isset($schemas[$tbl])) {
                     $schemas[$tbl] = DB_DataObject::Factory($tbl)->table();
                 }
-                $types[$name] = $schemas[$tbl][$table_col];
+                $types[$name] = $schemas[$tbl][$col];
                 
                 
             }