projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193227e
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 10:10:00 +0000
(18:10 +0800)
committer
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 10:10:00 +0000
(18:10 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
e8a1693
..
49588a0
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-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