From a087de62db5db72cbd49d75e398078ce0cbd8183 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 3 Dec 2005 03:55:01 +0000 Subject: [PATCH] r609: Update build_assignedto() if we need to (user has proper permissions to be assigned to) --- userctrl.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/userctrl.php b/userctrl.php index 8a5c507..736d7cb 100644 --- a/userctrl.php +++ b/userctrl.php @@ -142,6 +142,12 @@ if ($_POST['do'] == 'update') WHERE userid = " . $bugsys->userinfo['userid'] ); + if (can_perform('canbeassignedto')) + { + require_once('./includes/functions_datastore.php'); + build_assignedto(); + } + $message->redirect($lang->string('The changes to your account have been made.'), 'userctrl.php'); } } -- 2.43.5