projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f389d5d
)
DataObjects/Person.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 22 May 2012 02:08:03 +0000
(10:08 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 22 May 2012 02:08:03 +0000
(10:08 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
e06c33a
..
cabf165
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-589,7
+589,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
//
$tn_pd = DB_DataObject::Factory('ProjectDirectory')->tableName();
// can list current - so that it does not break!!!
- $
x
->whereAdd("$tn_p.id IN
+ $
this
->whereAdd("$tn_p.id IN
( SELECT distinct person_id FROM $tn_pd WHERE
role = '". $x->escape($q['query']['role']) ."'
)");