X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_company.php;h=571777091431b80b9185239d9b5c09da32fc4fe4;hp=054792c40d1d89e6ebe2faa7204b922b01163f35;hb=72d1e6ffa10921261874f0faadb8acfd9743bfb6;hpb=950fd8b1206f93931e1dc3807fcdc13747ce6c2b diff --git a/DataObjects/Core_company.php b/DataObjects/Core_company.php index 054792c4..57177709 100644 --- a/DataObjects/Core_company.php +++ b/DataObjects/Core_company.php @@ -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'])) {