From 41063da81582a7b07814917cf2f16d17f14fb322 Mon Sep 17 00:00:00 2001 From: bradymiller Date: Thu, 26 Jul 2012 10:14:21 -0700 Subject: [PATCH] Revert "Fix to return correct value instead of boolean from acl_check()." This reverts commit 86fff4b4e9579c444ed87ebe4a954135431bdb04. --- library/acl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/acl.inc b/library/acl.inc index baf5bd3a0..ebd737bc5 100644 --- a/library/acl.inc +++ b/library/acl.inc @@ -112,7 +112,7 @@ if (! $user) $user = $_SESSION['authUser']; if ($phpgacl_location) { - return $gacl_object->acl_return_value($section, $value, $section_aro_value, $user); + return $gacl_object->acl_check($section, $value, $section_aro_value, $user); } // If no phpgacl, then apply the old static rules whereby "authorized" -- 2.11.4.GIT