projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/Core_notify.php
[Pman.Core]
/
DataObjects
/
Core_notify.php
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
a68e693
..
60b7c82
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-52,6
+52,7
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
{
if ($set !== false) {
$this->person_table = is_object($set) ? $set->tableName() : '';
+ $col = $this->person_table == "Person" ? 'person_id' : $person_table . '_id';
$this->person_id = is_object($set) ? $set->id : $set;
return;
}