projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee983f
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Dec 2012 03:25:02 +0000
(11:25 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Dec 2012 03:25:02 +0000
(11:25 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
f067c05
..
32b2ba7
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-49,7
+49,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$this->selectAs($jt, 'person_id_%s', 'join_person_id_id');
} else {
- $this->
person_table = 'Person'
; // default to our standard.. - unless otherwise requested..
+ $this->
whereAdd("person_table = 'Person' OR person_table = '' OR person_table IS NULL")
; // default to our standard.. - unless otherwise requested..
}