MTrackWeb.php
authorAlan Knowles <alan@akbkhome.com>
Sat, 7 Jan 2012 11:48:23 +0000 (19:48 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 7 Jan 2012 11:48:23 +0000 (19:48 +0800)
MTrackWeb.php

index 22d7875..e7366c6 100644 (file)
@@ -157,7 +157,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
             $ar = $p->fetchAll('id', 'name');
         } else {
             //DB_DAtaObject::debugLevel(1);
-            $p->applyFilters(array(), $this->authUser);
+            $p->applyFilters(array(), $this->authUser, $this);
             if (!$this->authUser->hasPerm('Core.Projects_All', 'S')) { 
                 $p->whereAdd("Projects.id in (SELECT ProjectDirectory.project_id FROM ProjectDirectory WHERE
                         person_id = ". $this->authUser->id . " and role != '')");