From 43a49d462ab7d43179dd533df7d4aaac51419848 Mon Sep 17 00:00:00 2001 From: Tony Lambregts Date: Mon, 10 Jul 2006 02:21:47 +0000 Subject: [PATCH] Fix editing of a users administrative rights --- include/form_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/form_edit.php b/include/form_edit.php index c11107d..6e1ef73 100644 --- a/include/form_edit.php +++ b/include/form_edit.php @@ -3,7 +3,7 @@ require_once(BASE."include/util.php"); $aClean = array(); //array of filtered user input -$aClean['userId'] = makeSafe($_REQUEST['userId']); +$aClean['iUserId'] = makeSafe($_REQUEST['iUserId']); /*********************/ /* Edit Account Form */ /*********************/ @@ -28,7 +28,7 @@ $aClean['userId'] = makeSafe($_REQUEST['userId']); iUserId == $aClean['userId']) +if($oUser->iUserId == $aClean['iUserId']) { ?>