BUG 10544 The text is not displayed when using the characters <> IMPROVEMENT

This commit is contained in:
Julio Cesar Laura
2013-01-29 14:19:03 -04:00
parent 3effbff8d7
commit ff5695bac6

View File

@@ -64,7 +64,7 @@ class AppNotes extends BaseAppNotes
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
$aRow['NOTE_CONTENT'] = htmlentities(stripslashes( $aRow['NOTE_CONTENT'] ));
$aRow['NOTE_CONTENT'] = htmlentities(stripslashes($aRow['NOTE_CONTENT']), ENT_QUOTES, 'UTF-8');
$response['notes'][] = $aRow;
$oDataset->next();
}