}
- function applyPermissionFilters()
+ function applyPermissionFilters($q, $au ,$roo)
{
- if (!$au->hasPerm("Admin.Admin_Tab", 'S') && !$au->hasPerm("BAdmin.BAdmin", 'S')) {
+ if (!$au->hasPerm("Admin.Admin_Tab", 'S') && !$au->hasPerm("BAdmin.BAdmin", 'S')) {
//DB_DataObject::DebugLevel(1);
// they can only view their changes..
$this->whereAdd("($tn.person_id = {$au->id} OR $tn.person_id = 0)");
// $this->person_id = $au->id;
-
}
}