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

index ce54e6f..8129bb4 100644 (file)
@@ -52,7 +52,7 @@ class MTrackWeb_Roo extends Pman_Roo
             return $res;
         }
         
-        if (!$this->authUser && $this->authUser->company()->comptype == 'OWNER') {
+        if ($this->authUser && $this->authUser->company()->comptype == 'OWNER') {
             return true;
         }
         // these checks only apply to non-company users.