BUG 8831 Backslash ( \ ) appears before single quotes in Case NotesSOLVED

- Characters are not validated.
- Was added stripslashes () to validate notes.
This commit is contained in:
Marco Antonio Nina
2012-07-18 10:21:16 -04:00
parent ea32fd1d40
commit 6418f703ee

View File

@@ -15,8 +15,9 @@ require_once 'classes/model/om/BaseAppNotes.php';
*/
class AppNotes extends BaseAppNotes {
function getNotesList($appUid, $usrUid = '', $start = '', $limit = '') {
require_once ( "classes/model/Users.php" );
function getNotesList($appUid, $usrUid='', $start='', $limit='')
{
require_once ("classes/model/Users.php");
G::LoadClass('ArrayPeer');
@@ -63,7 +64,7 @@ class AppNotes extends BaseAppNotes {
$oDataset->next();
while ($aRow = $oDataset->getRow()) {
$aRow['NOTE_CONTENT'] = stripslashes($aRow['NOTE_CONTENT']);
$response['notes'][] = $aRow;
$oDataset->next();
}