projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55d27a
)
DataObjects/Events.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 14 May 2012 04:15:46 +0000
(12:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 14 May 2012 04:15:46 +0000
(12:15 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
575f644
..
33a1903
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-210,6
+210,9
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$pt->selectAdD('distinct(person_table) as person_table');
$pt->whereAdd('person_table IS NOT NULL AND LENGTH(person_table) > 0');
$tbls = $pt->fetchAll('person_table');
+ if (!in_array('Person',$tbls)) {
+ $tbls[] = 'Person';
+ }
foreach($tbls as $tbl) {
// find all the columns from the joined table..