From 64acb0961e5493b58865afdce73be1de51f8f8ec Mon Sep 17 00:00:00 2001 From: Rod Roark Date: Wed, 14 Mar 2012 15:32:02 -0700 Subject: [PATCH] Fix to return correct value instead of boolean from acl_check(). --- library/acl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/acl.inc b/library/acl.inc index ebd737bc5..baf5bd3a0 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_check($section, $value, $section_aro_value, $user); + return $gacl_object->acl_return_value($section, $value, $section_aro_value, $user); } // If no phpgacl, then apply the old static rules whereby "authorized" -- 2.11.4.GIT