From dbe7e582747ae5514cdbb84bab04b72e819db0fd Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 5 Sep 2006 20:45:57 +0000 Subject: [PATCH] I spent 2 hours looking for this typo :-D --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 1816143a0a..d07096f2f9 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -607,7 +607,7 @@ function load_user_capability($capability='', $context ='', $userid='') { // now we don't care about the huge array anymore, we can dispose it. unset($capabilities); - if (!empty($otheruseid)) { + if (!empty($otheruserid)) { return $usercap; // return the array } // see array in session to see what it looks like -- 2.39.5