projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3478ebc
)
DataObjects/Core_person.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Oct 2016 07:01:33 +0000
(15:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Oct 2016 07:01:33 +0000
(15:01 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
b93c6c1
..
bdccdb0
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-425,7
+425,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$u->id = -1;
// if a company has been created fill that in in company_id_id
- $c = DB_DAtaObject::factory('
Companies
')->lookupOwner();
+ $c = DB_DAtaObject::factory('
core_company
')->lookupOwner();
if ($c) {
$u->company_id_id = $c->pid();
$u->company_id = $c->pid();