Pman/Login.php
authorjohn <john@roojs.com>
Thu, 14 Jun 2018 05:47:53 +0000 (13:47 +0800)
committerjohn <john@roojs.com>
Thu, 14 Jun 2018 05:47:53 +0000 (13:47 +0800)
Pman/Login.php

index 6997827..5fcbe8e 100644 (file)
@@ -62,7 +62,7 @@ class Pman_Login extends Pman
         if(!empty($_REQUEST['check_owner_company'])) {
             $core_company = DB_DataObject::factory('core_company');
             $core_company->comptype = 'OWNER';
-            return $core_company->count();
+            $this->jdata($core_company->count());
         }
         
         // might be an idea to disable this?!?