From 322f7d618ef5f62f9d61e3b5bf434e274ebc040e 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()." --- library/acl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/acl.inc b/library/acl.inc index 7700b776a..efbd788e5 100644 --- a/library/acl.inc +++ b/library/acl.inc @@ -111,7 +111,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