projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce85460
)
Pman.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Nov 2011 07:23:22 +0000
(15:23 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 25 Nov 2011 07:23:22 +0000
(15:23 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
54cd0d9
..
7a12b5c
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-137,7
+137,7
@@
class Pman extends HTML_FlexyFramework_Page
{
$this->company = DB_DataObject::Factory('Companies');
- if (!
$this->company
) { // non-core pman projects
+ if (!
is_a($this->company, 'DB_DataObject')
) { // non-core pman projects
return;
}
$this->company->get('comptype', 'OWNER');