projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5059b4f
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 13 Oct 2016 01:41:27 +0000
(09:41 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 13 Oct 2016 01:41:27 +0000
(09:41 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
a445ded
..
e8f140a
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-71,7
+71,7
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
return $cache[$person_table .':'. $this->{$col}];
}
- $c = DB_DataObject::Factory($person_table);
+ $c = DB_DataObject::Factory($person_table
== 'person' ? 'core_person' : $person_table
);
$c->get($this->{$col});
$cache[$person_table .':'. $this->{$col}] = $c;
return $c;