From 7906027f2794677743ad4bcf2c0d1dd9d369bbf0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 22 May 2014 15:41:47 +0800 Subject: [PATCH] DatabaseColumns.php --- DatabaseColumns.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DatabaseColumns.php b/DatabaseColumns.php index 05139ec9..9fb0ca28 100644 --- a/DatabaseColumns.php +++ b/DatabaseColumns.php @@ -27,7 +27,7 @@ class Pman_Core_DatabaseColumns extends Pman { $re = $d->autoJoin(); echo '
';print_r($re);
         $ret = array ();
-        foreach($re['cols'] as $c=>$f) {
+        foreach($re['join_names'] as $c=>$f) {
             $ret[]  = array(
                 'name' => $c,
                 'val' => $f
-- 
2.39.2