From 1b483371628113723b30f75f553476fb6289a52f Mon Sep 17 00:00:00 2001 From: humano Date: Sat, 24 Nov 2018 12:51:04 -0500 Subject: [PATCH] correccion bug en creacion de usuarios --- funciones/funciones.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 21a4e92..d456f01 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -2389,7 +2389,7 @@ return $resultado; } function json_render($contenido,$tipo,$control){ - +$contenido = stripcslashes($contenido); $campos = "$tipo,$contenido"; $datos = json_decode($contenido, true); if ($tipo == "html"){ @@ -2425,7 +2425,7 @@ elseif($tipo == "csv") { } } -$resultado = trim($linea,","); +$resultado = trim($linea,",").""; } elseif($tipo == "array") { $array= array();