fix setting mandatory workflow

The method which was called didn't exist in SeedDMS_Core_User
This commit is contained in:
Uwe Steinmann 2013-03-28 10:17:45 +01:00
parent dafd9655fc
commit adb5f7fa3b

View File

@ -85,7 +85,7 @@ if ($action == "adduser") {
if(isset($_POST["workflow"])) {
$workflow = $dms->getWorkflow($_POST["workflow"]);
if($workflow)
$newUser->setWorkflow($workflow);
$newUser->setMandatoryWorkflow($workflow);
}
if (isset($_POST["usrReviewers"])){