diff --git a/op/op.UsrMgr.php b/op/op.UsrMgr.php index 49d5be2c6..5583e5e0b 100644 --- a/op/op.UsrMgr.php +++ b/op/op.UsrMgr.php @@ -203,6 +203,10 @@ else if ($action == "removefromprocesses") { } if(isset($_POST["status"]) && is_array($_POST["status"]) && $_POST["status"]) { + if(!isset($_POST["status"]["review"])) + $_POST["status"]["review"] = array(); + if(!isset($_POST["status"]["approval"])) + $_POST["status"]["approval"] = array(); if (!$userToRemove->removeFromProcesses($user, $_POST['status'])) { UI::exitError(getMLText("admin_tools"),getMLText("error_occured")); }