Merge branch 'develop' of bitbucket.org:colosa/processmaker into bugfix/PMCORE-1335

This commit is contained in:
Roly Rudy Gutierrez Pinto
2020-08-31 08:51:26 -04:00
18 changed files with 473 additions and 85 deletions

View File

@@ -270,7 +270,8 @@ class AppDelegation extends BaseAppDelegation
if ($resultAbe->next()) {
$dataAbe = $resultAbe->getRow();
$flagActionsByEmail = false;
if ($dataAbe['ABE_TYPE']!='' && $data->USR_UID!='') {
// These validations are important for the the action by email
if (!empty($dataAbe['ABE_TYPE']) && !empty($data->USR_UID) && $data->DEL_INDEX > 1) {
$actionsByEmail = new ActionsByEmailCoreClass();
$actionsByEmail->sendActionsByEmail($data, $dataAbe);
}