DataObjects/Person.php
authorAlan Knowles <alan@roojs.com>
Mon, 8 Jul 2013 02:20:19 +0000 (10:20 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 8 Jul 2013 02:20:19 +0000 (10:20 +0800)
DataObjects/Person.php

index 1c084bf..2534d97 100644 (file)
@@ -746,11 +746,11 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             
             $str =  $x->toSQL(array(
                 'default' => $props,
-                'map' => array(),
-                    //'language' => 'Clipping.language',
+                'map' => array(
+                    'company' => 'join_company_id_id.name',
                     //'country' => 'Clipping.country',
                     //  'media' => 'Clipping.media_name',
-                
+                ),
                 'escape' => array($this->getDatabaseConnection(), 'escapeSimple'), /// pear db or mdb object..
 
             ));