projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701b167
)
crm calls this and get's the wrong user.
author
Alan Knowles
<alan@roojs.com>
Thu, 27 Jun 2019 02:22:09 +0000
(10:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 27 Jun 2019 02:22:09 +0000
(10:22 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
a11f1bd
..
171e7e6
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-56,7
+56,8
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
function owner()
{
- $p = DB_DataObject::Factory($this->tableName());
+ // this might be a Person in some old code?
+ $p = DB_DataObject::Factory('core_person');
$p->get($this->owner_id);
return $p;
}