X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=8f5845c18dad56cb6e633c67e19a26ae228fa879;hb=c15e9146f62fdb50ef61fa55722bd78c89d491f9;hp=211c5ec94fc12874820dd0d1e718463e896dec2b;hpb=f6e297a41b289df86b66eb2837a3af5195cf78aa;p=Pman.Core diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 211c5ec9..8f5845c1 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -136,10 +136,10 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject // then we can build a join.. $d = DB_DataObject::Factory($q['ontable']); $ji = $d->autoJoin(); - echo '
';print_R($hi);
+            echo '
';print_R($ji);
             // get cols
-            foreach($ji['cols'] as $cname=>$fname) {
-                //$this->selectAdd($fname . ' as ontable_id_' . $cname );
+            foreach($ji['join_names'] as $cname=>$fname) {
+                 $this->selectAdd($fname . ' as ontable_id_' . $cname );
             }
             
             //$this->selectAdd($d->_query['data_select']); -- this will cause the same dataIndex...