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

index 41c234e..d16438f 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', 'AND');
+            //$this->whereAddIn('Office.id', $officeIds, 'INT', 'AND');
 //            foreach($officeIds as $id){
 //                $this->whereAdd("
 //                    Office.id = $id