projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
857432a
)
DataObjects/Events.php
author
KH Lau
<khlau@roojs.com>
Mon, 23 Oct 2017 07:37:57 +0000
(15:37 +0800)
committer
KH Lau
<khlau@roojs.com>
Mon, 23 Oct 2017 07:37:57 +0000
(15:37 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
f664f76
..
046a6ad
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-37,9
+37,10
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
{
$tn = $this->tableName();
// if not empty on_table
- exit;
if(!empty($q['person_table'])){
$jt = DB_DataObject::factory($q['person_table']);
+
+ $et = DB_DataObject::factory($tn);
if(!array_key_exists("{$jt->tableName()}_id", $this->tableColumns())){ // coz we have triiger on mysql...