From f85d3113433d65180e6ac682dcc0071ce2b0af14 Mon Sep 17 00:00:00 2001 From: humano Date: Fri, 30 Nov 2018 03:15:18 -0500 Subject: [PATCH] escapado en api --- funciones/funciones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 1bc4f5c..81982db 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -8087,7 +8087,7 @@ if($privado !='1') { if($con_respuesta[0] !="") { //$contenido_respuestas = datos_array("$identificador","$row[form_id]","$row[timestamp]"); $contenido_respuestas = array_respuestas("$row[form_id]",$identificador,"array");//formulario_imprimir("$row[form_id]","$identificador","array",""); ///array_respuestas("$row[form_id]","$row[control]","json"); -$array["responder"]= json_encode($contenido_respuestas,JSON_FORCE_OBJECT);//"$contenido_respuestas $row[control] //$row[timestamp] // $row[form_id]"; +$array["responder"]= stripcslashes(json_encode($contenido_respuestas,JSON_FORCE_OBJECT|JSON_UNESCAPED_UNICODE));//"$contenido_respuestas $row[control] //$row[timestamp] // $row[form_id]"; } }