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:
@@ -15,7 +15,8 @@ require_once 'classes/model/om/BaseAppNotes.php';
|
||||
*/
|
||||
class AppNotes extends BaseAppNotes {
|
||||
|
||||
function getNotesList($appUid, $usrUid = '', $start = '', $limit = '') {
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user