From: Alan Date: Wed, 29 Mar 2023 08:20:23 +0000 (+0800) Subject: fix query X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=84fbf5cb1e74cd74867f39c69da3c825bbca6126 fix query --- diff --git a/DataObjects/Core_company.php b/DataObjects/Core_company.php index c9b31eeb..c1b9a56d 100644 --- a/DataObjects/Core_company.php +++ b/DataObjects/Core_company.php @@ -79,7 +79,7 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject } if (!empty($q['query']['comptype'])) { - $this->whereAddIn('comptype', explode(',', $q['query']['comptype']), 'string'); + $this->whereAddIn($tn.'.comptype', explode(',', $q['query']['comptype']), 'string'); }