projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fba5e03
)
DataObjects/Events.php
author
KH Lau
<khlau@roojs.com>
Tue, 24 Oct 2017 02:21:29 +0000
(10:21 +0800)
committer
KH Lau
<khlau@roojs.com>
Tue, 24 Oct 2017 02:21:29 +0000
(10:21 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
9c8f216
..
af10242
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-49,7
+49,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$keys = $jt->keys();
$keys = $jt->keys();
- $this->_join = "LEFT JOIN {$jt->tableName()} AS join_person_id_id ON (join_person_id_id.{$keys[0]}=
Events
.person_id)";
+ $this->_join = "LEFT JOIN {$jt->tableName()} AS join_person_id_id ON (join_person_id_id.{$keys[0]}=
{$tn}
.person_id)";
//$this->_join = "LEFT JOIN {$jt->tableName()} AS join_person_id_id ON (join_person_id_id.{$keys[0]}=Events.person_id)";
$this->selectAdd();
$this->selectAs();
//$this->_join = "LEFT JOIN {$jt->tableName()} AS join_person_id_id ON (join_person_id_id.{$keys[0]}=Events.person_id)";
$this->selectAdd();
$this->selectAs();