DataObjects/Core_company.php
authorjohn <john@roojs.com>
Fri, 17 Nov 2017 08:12:09 +0000 (16:12 +0800)
committerjohn <john@roojs.com>
Fri, 17 Nov 2017 08:12:09 +0000 (16:12 +0800)
DataObjects/Core_company.php

index 054792c..5717770 100644 (file)
@@ -40,7 +40,8 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject
     
     function applyFilters($q, $au)
     {
-       $tn = $this->tableName();
+        
+        $tn = $this->tableName();
         $this->selectAdd("i18n_translate('c' , {$tn}.country, 'en') as country_display_name ");
       
         $tn = $this->tableName();
@@ -49,6 +50,8 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject
         $x->comptype= 'OWNER';
         $x->find(true);
         
+        var_dump('fetch here??');exit;
+        
         if (!empty($q['query']['company_project_id'])) {
             $add = '';
             if (!empty($q['query']['company_include_self'])) {