From 055a6d5c1951d17517745c31734156915fffbf9a Mon Sep 17 00:00:00 2001 From: Marco Antonio Nina Mena Date: Tue, 31 Oct 2017 08:08:22 -0400 Subject: [PATCH] reverse change of triple equality --- workflow/engine/methods/cases/caseMessageHistory_Ajax.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow/engine/methods/cases/caseMessageHistory_Ajax.php b/workflow/engine/methods/cases/caseMessageHistory_Ajax.php index cd7059952..8ed713a92 100644 --- a/workflow/engine/methods/cases/caseMessageHistory_Ajax.php +++ b/workflow/engine/methods/cases/caseMessageHistory_Ajax.php @@ -72,10 +72,10 @@ switch ($actionAjax) { $totalCount = 0; foreach ($appMessageArray as $index => $value) { - if (($appMessageArray[$index]['APP_MSG_SHOW_MESSAGE'] === 1 && $respMess !== 'BLOCK') && - ($appMessageArray[$index]['DEL_INDEX'] === 0 || in_array($appMessageArray[$index]['DEL_INDEX'], $delIndex))) { + if (($appMessageArray[$index]['APP_MSG_SHOW_MESSAGE'] == 1 && $respMess != 'BLOCK') && + ($appMessageArray[$index]['DEL_INDEX'] == 0 || in_array($appMessageArray[$index]['DEL_INDEX'], $delIndex))) { $appMessageArray[$index]['ID_MESSAGE'] = $appMessageArray[$index]['APP_UID'] . '_' . $appMessageArray[$index]['APP_MSG_UID']; - if ($respMess === 'BLOCK' || $respMess === '') { + if ($respMess == 'BLOCK' || $respMess == '') { $appMessageArray[$index]['APP_MSG_BODY'] = ''; } $process[] = array_merge($appMessageArray[$index], ['MSGS_HISTORY' => $respMess]);