From 71288aa279969c9639094615c99032e31385b9f0 Mon Sep 17 00:00:00 2001 From: edward Date: Mon, 15 Jan 2018 10:39:42 +0800 Subject: [PATCH] DataObjects/Events.php --- DataObjects/Events.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index 6e34de99..0f4830b1 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -259,12 +259,11 @@ class Pman_Core_DataObjects_Events extends DB_DataObject function applyPermissionFilters($q, $au ,$roo) { - if (!$au->hasPerm("Admin.Admin_Tab", 'S') && !$au->hasPerm("BAdmin.BAdmin", 'S')) { + if (!$au->hasPerm("Admin.Admin_Tab", '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; - } } -- 2.39.2