BUG-12932 SOLVED perdida de texto con comillas dobles

This commit is contained in:
Roly Gutierrez
2013-09-24 10:17:56 -04:00
parent cceaae9014
commit ed0616ec22

View File

@@ -40,7 +40,11 @@ try {
//$oJSON = new Services_JSON();
if (isset($_REQUEST['data'])) {
$oData = Bootstrap::json_decode(stripslashes($_REQUEST['data']));
if($_REQUEST['action']=="addText"||$_REQUEST['action']=="updateText") {
$oData = Bootstrap::json_decode($_REQUEST['data']);
} else {
$oData = Bootstrap::json_decode(stripslashes($_REQUEST['data']));
}
//$oData = $oJSON->decode( stripslashes( $_REQUEST['data'] ) );
$sOutput = '';
$sTask = '';