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:
9bba2b0
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 13 Oct 2016 01:38:09 +0000
(09:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 13 Oct 2016 01:38:09 +0000
(09:38 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
b75f47a
..
6a1b4b5
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-53,7
+53,7
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
if ($set !== false) {
$this->person_table = is_object($set) ? $set->tableName() : '';
if ($set !== false) {
$this->person_table = is_object($set) ? $set->tableName() : '';
- $def_pt =
DB_DataObject::Factory('core_person')->tableName()
;
+ $def_pt =
'core_person'
;
$person_table = empty($this->person_table) ? $def_pt : $this->person_table;
$col = $person_table == $def_pt ? 'person_id' : $person_table . '_id';
$person_table = empty($this->person_table) ? $def_pt : $this->person_table;
$col = $person_table == $def_pt ? 'person_id' : $person_table . '_id';