projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bbbda
)
Pman/Login.php
author
john
<john@roojs.com>
Thu, 14 Jun 2018 05:47:22 +0000
(13:47 +0800)
committer
john
<john@roojs.com>
Thu, 14 Jun 2018 05:47:22 +0000
(13:47 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
c292e12
..
6997827
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-60,8
+60,9
@@
class Pman_Login extends Pman
}
if(!empty($_REQUEST['check_owner_company'])) {
- return $this->getOwnerCompany();
- exit;
+ $core_company = DB_DataObject::factory('core_company');
+ $core_company->comptype = 'OWNER';
+ return $core_company->count();
}
// might be an idea to disable this?!?