ProcessMaker-MA "Fix in DynaForm (delete DynaForm)"
- Al eliminar un DynaForm, la validacion que se hacia con dynaFormAssignedStep() estaba incorrecta se corrigio la misma
This commit is contained in:
@@ -296,7 +296,7 @@ class DynaForm
|
|||||||
$processUid = $arrayDataUid["PRO_UID"];
|
$processUid = $arrayDataUid["PRO_UID"];
|
||||||
|
|
||||||
//Verify data
|
//Verify data
|
||||||
if (!$this->dynaFormAssignedStep($dynaFormUid, $processUid)) {
|
if ($this->dynaFormAssignedStep($dynaFormUid, $processUid)) {
|
||||||
throw (new \Exception("You cannot delete this Dynaform while it is assigned to a step"));
|
throw (new \Exception("You cannot delete this Dynaform while it is assigned to a step"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user