DatabaseColumns.php
authorAlan Knowles <alan@roojs.com>
Thu, 22 May 2014 07:41:47 +0000 (15:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 22 May 2014 07:41:47 +0000 (15:41 +0800)
DatabaseColumns.php

index 05139ec..9fb0ca2 100644 (file)
@@ -27,7 +27,7 @@ class Pman_Core_DatabaseColumns extends Pman {
         $re = $d->autoJoin();
         echo '<PRE>';print_r($re);
         $ret = array ();
-        foreach($re['cols'] as $c=>$f) {
+        foreach($re['join_names'] as $c=>$f) {
             $ret[]  = array(
                 'name' => $c,
                 'val' => $f