projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7181285
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Tue, 15 Jan 2013 06:41:39 +0000
(14:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 15 Jan 2013 06:41:39 +0000
(14:41 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
91b8f44
..
e82bb42
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-49,6
+49,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$this->selectAs($jt, 'person_id_%s', 'join_person_id_id');
} else {
$this->selectAs($jt, 'person_id_%s', 'join_person_id_id');
} else {
+ $jt = DB_DataObject::factory('Person');
$this->whereAdd("
person_table = '{$jt->tableName()}'
OR
$this->whereAdd("
person_table = '{$jt->tableName()}'
OR