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:
julceslauhub
2013-08-27 10:56:07 -07:00

View File

@@ -5303,9 +5303,7 @@ class Cases
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
if ($TASK_SOURCE == $aRow['TAS_UID']) {
$delIndex[] = $aRow['DEL_INDEX'];
}
$delIndex[] = $aRow['DEL_INDEX'];
$oDataset->next();
}
$RESULT['MSGS_HISTORY'] = array_merge(array('DEL_INDEX' => $delIndex), $RESULT['MSGS_HISTORY']);
@@ -5432,9 +5430,7 @@ class Cases
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
if ($TASK_SOURCE == $aRow['TAS_UID']) {
$delIndex[] = $aRow['DEL_INDEX'];
}
$delIndex[] = $aRow['DEL_INDEX'];
$oDataset->next();
}