mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 10:30:42 +00:00
fix setting mandatory workflow
The method which was called didn't exist in SeedDMS_Core_User
This commit is contained in:
parent
dafd9655fc
commit
adb5f7fa3b
|
|
@ -85,7 +85,7 @@ if ($action == "adduser") {
|
||||||
if(isset($_POST["workflow"])) {
|
if(isset($_POST["workflow"])) {
|
||||||
$workflow = $dms->getWorkflow($_POST["workflow"]);
|
$workflow = $dms->getWorkflow($_POST["workflow"]);
|
||||||
if($workflow)
|
if($workflow)
|
||||||
$newUser->setWorkflow($workflow);
|
$newUser->setMandatoryWorkflow($workflow);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_POST["usrReviewers"])){
|
if (isset($_POST["usrReviewers"])){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user