Merged in bugfix/HOR-3769 (pull request #6022)
HOR-3769 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -75,7 +75,7 @@ class Workflow extends Handler
|
|||||||
self::log("Create Process with data:", $data);
|
self::log("Create Process with data:", $data);
|
||||||
|
|
||||||
//validate if process with specified name already exists
|
//validate if process with specified name already exists
|
||||||
if (Process::existsByProTitle($data["PRO_TITLE"])) {
|
if (ClassesProcess::existsByProTitle($data["PRO_TITLE"])) {
|
||||||
throw new Exception\ProjectAlreadyExists($this, $data["PRO_TITLE"]);
|
throw new Exception\ProjectAlreadyExists($this, $data["PRO_TITLE"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user