From 7c4c7e2f869f254c603e8c6bbef381037eb849fe Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 18 Mar 2007 05:10:09 +0000 Subject: [PATCH] r1495: It helps if we get the name of the right datastore in can_perform() --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 1ba4733..8c14e7b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -114,7 +114,7 @@ function can_perform($bitmask, $productid = 0, $userinfo = null) $userinfo =& $bugsys->userinfo; } - $permissions =& $bugsys->datastore['permissions']; + $permissions =& $bugsys->datastore['permission']; if (!isset($bugsys->permissions["$bitmask"])) { -- 2.43.5