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:
Paula Quispe
2017-08-28 12:30:45 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -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"]);
} }