Merged in bugfix/PMCORE-1455 (pull request #7445)

PMCORE-1455

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2020-08-19 18:40:22 +00:00
committed by Julio Cesar Laura Avendaño

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);
}