PMCORE-2551

This commit is contained in:
Julio Cesar Laura Avendaño
2020-12-17 18:42:19 +00:00
parent 83e62fda67
commit fc2c83eba2
2 changed files with 3 additions and 2 deletions

View File

@@ -133,8 +133,6 @@ switch ($req) {
$row = $result->getRow();
$row['APP_MSG_STATUS'] = ucfirst($row['APP_MSG_STATUS']);
$row['APP_MSG_DATE'] = DateTime::convertUtcToTimeZone($row['APP_MSG_DATE']);
$row['APP_MSG_TO'] = htmlentities($row['APP_MSG_TO'], ENT_HTML5, "UTF-8");
$row['APP_MSG_ERROR'] = htmlentities($row['APP_MSG_ERROR'], ENT_HTML5, "UTF-8");
switch ($filterBy) {
case 'CASES':

View File

@@ -54,6 +54,9 @@ Ext.onReady(function(){
data = PMExt.emailConst.numberColumn.defaultValue;
}
}
if (metadata.id === 'APP_MSG_TO' || metadata.id === 'APP_MSG_ERROR') {
return Ext.util.Format.htmlEncode(data);
}
var new_text = metadata.style.split(';');
var style = '';
for (var i = 0; i < new_text.length -1 ; i++) {