projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ba628
)
DataObjects/Office.php
author
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:59:59 +0000
(17:59 +0800)
committer
Chris
<chris@roojs.com>
Tue, 8 Jan 2013 09:59:59 +0000
(17:59 +0800)
DataObjects/Office.php
patch
|
blob
|
history
diff --git
a/DataObjects/Office.php
b/DataObjects/Office.php
index
82e5312
..
075fdbe
100644
(file)
--- a/
DataObjects/Office.php
+++ b/
DataObjects/Office.php
@@
-38,6
+38,10
@@
class Pman_Core_DataObjects_Office extends DB_DataObject
$officeIds = $p->fetchAll('office_id');
$this->whereAddIn('Office.id', $officeIds, 'INT', 'AND');
+ $this->whereAdd("
+ Office.id = $officeIds
+ ");
+
$this->joinAddCountryWithPerson();
}
}