This commit is contained in:
Paula Quispe
2019-01-07 11:22:25 -04:00
parent 47613c055d
commit 95c5dfea4a

View File

@@ -3512,12 +3512,13 @@ class Cases
$fieldsTrigger = []; $fieldsTrigger = [];
foreach ($triggersList as $trigger) { foreach ($triggersList as $trigger) {
//Scan the code /*----------------------------------********---------------------------------*/
$disabledCode = $this->codeScannerReview($cs, $trigger["TRI_WEBBOT"], $trigger["TRI_TITLE"]); $disabledCode = $this->codeScannerReview($cs, $trigger["TRI_WEBBOT"], $trigger["TRI_TITLE"]);
if (!empty($disabledCode)) { if (!empty($disabledCode)) {
$foundDisabledCode .= $disabledCode; $foundDisabledCode .= $disabledCode;
continue; continue;
} }
/*----------------------------------********---------------------------------*/
$execute = true; $execute = true;
//Check if the trigger has conditions for the execution //Check if the trigger has conditions for the execution