Merge pull request #2007 from marcoAntonioNina/BUG-12710
BUG-12710 Message history does not display the sent email when... SOLVED
This commit is contained in:
@@ -5303,9 +5303,7 @@ class Cases
|
|||||||
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||||
$oDataset->next();
|
$oDataset->next();
|
||||||
while ($aRow = $oDataset->getRow()) {
|
while ($aRow = $oDataset->getRow()) {
|
||||||
if ($TASK_SOURCE == $aRow['TAS_UID']) {
|
$delIndex[] = $aRow['DEL_INDEX'];
|
||||||
$delIndex[] = $aRow['DEL_INDEX'];
|
|
||||||
}
|
|
||||||
$oDataset->next();
|
$oDataset->next();
|
||||||
}
|
}
|
||||||
$RESULT['MSGS_HISTORY'] = array_merge(array('DEL_INDEX' => $delIndex), $RESULT['MSGS_HISTORY']);
|
$RESULT['MSGS_HISTORY'] = array_merge(array('DEL_INDEX' => $delIndex), $RESULT['MSGS_HISTORY']);
|
||||||
@@ -5432,9 +5430,7 @@ class Cases
|
|||||||
$oDataset->next();
|
$oDataset->next();
|
||||||
|
|
||||||
while ($aRow = $oDataset->getRow()) {
|
while ($aRow = $oDataset->getRow()) {
|
||||||
if ($TASK_SOURCE == $aRow['TAS_UID']) {
|
$delIndex[] = $aRow['DEL_INDEX'];
|
||||||
$delIndex[] = $aRow['DEL_INDEX'];
|
|
||||||
}
|
|
||||||
$oDataset->next();
|
$oDataset->next();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user