HOR-2977
Errors from triggers in a process need to be stored in a different file of the error_log.
This commit is contained in:
@@ -2203,6 +2203,7 @@ class wsBase
|
||||
}
|
||||
|
||||
if ($bExecute) {
|
||||
$oPMScript->setDataTrigger($aTrigger);
|
||||
$oPMScript->setScript( $aTrigger['TRI_WEBBOT'] );
|
||||
$oPMScript->execute();
|
||||
|
||||
@@ -2610,6 +2611,7 @@ class wsBase
|
||||
$aTriggers[] = $row;
|
||||
|
||||
$oPMScript = new PMScript();
|
||||
$oPMScript->setDataTrigger($row);
|
||||
$oPMScript->setFields( $appFields['APP_DATA'] );
|
||||
$oPMScript->setScript( $row['TRI_WEBBOT'] );
|
||||
$oPMScript->execute();
|
||||
|
||||
Reference in New Issue
Block a user