MTrackWeb/Roo.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 7 Jun 2011 07:01:59 +0000 (15:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 7 Jun 2011 07:01:59 +0000 (15:01 +0800)
MTrackWeb/Roo.php

index fff3d55..1fdd152 100644 (file)
@@ -19,11 +19,14 @@ class MTrackWeb_Roo extends Pman_Roo
         'mtrack_ticket' /// all of these MUST have applyFilters, and check authenication..
     );
     
-    function getAuth()
-    {
+     function getAuth() {
+        parent::getAuth(); // load company!
+        $au = $this->getAuthUser();
+        if (!$au) {
+            $this->authUser =  false;
+        }
+        $this->authUser = $au;
         return true;
-        
-        
     }
     
     function get($tbl)