DataObjects/Office.php
authorChris <chris@roojs.com>
Tue, 8 Jan 2013 09:49:42 +0000 (17:49 +0800)
committerChris <chris@roojs.com>
Tue, 8 Jan 2013 09:49:42 +0000 (17:49 +0800)
DataObjects/Office.php

index f1c049e..d42073c 100644 (file)
@@ -36,7 +36,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject
             $p->selectAdd();
             $p->selectAdd("DISTINCT(office_id) as office_id");
             $officeIds = $p->fetchAll('office_id');
-            //$this->whereAddIn('Office.id', $officeIds, 'INT');
+            $this->whereAddIn('Office.id', $officeIds, 'INT', 'AND');
             
             $this->joinAddCountryWithPerson();
         }