MTrackWeb/Roo.php
authorAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:53:07 +0000 (10:53 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:53:07 +0000 (10:53 +0800)
MTrackWeb/Roo.php

index 4c6014f..cd5c213 100644 (file)
@@ -46,12 +46,15 @@ class MTrackWeb_Roo extends Pman_Roo
         // need perms sorting out first.
     }
     
-    function checkPerm($obj, $lvl, $req=null) {
+    function checkPerm($obj, $lvl, $req=null)
+    {
+        
         $res = parent::checkPerm($obj,$lvl,$req);
         if ($res) {
             return $res;
         }
         
+        
         if ($this->authUser && $this->authUser->company()->comptype == 'OWNER') {
             return true;
         }