From 1528ffa098783910063e8875ff9fd98f6744c004 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 31 Mar 2016 13:02:23 +0800 Subject: [PATCH] RooTrait.php --- RooTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RooTrait.php b/RooTrait.php index 5e4a8603..c1c2cb42 100644 --- a/RooTrait.php +++ b/RooTrait.php @@ -171,7 +171,7 @@ trait Pman_Core_RooTrait { { if (method_exists($x, 'applyFilters')) { // DB_DataObject::debugLevel(1); - if (false === $x->applyFilters($q, $this->authUser(), $this)) { + if (false === $x->applyFilters($q, $this->authUser, $this)) { return; } } @@ -368,7 +368,7 @@ trait Pman_Core_RooTrait { if (!method_exists($obj, 'checkPerm')) { return true; } - if ($obj->checkPerm($lvl, $this->getAuthUser(), $req)) { + if ($obj->checkPerm($lvl, $this->authUser, $req)) { return true; } -- 2.39.2