projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
adebad3
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Fri, 16 Nov 2018 07:07:14 +0000
(15:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 Nov 2018 07:07:14 +0000
(15:07 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
ce2a088
..
b2573b4
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-246,7
+246,9
@@
class Pman extends HTML_FlexyFramework_Page
if (!is_a($this->company, 'DB_DataObject')) { // non-core pman projects
return false;
}
- $this->company->get('comptype', 'OWNER');
+ $e = DB_DataObject::Factory('core_enum')->lookupObject('COMPTYPE', 'OWNER');
+
+ $this->company->get('comptype_id', $e->id);
return $this->company;
}