From cf46911fc546d0405f3f2ab4f68482d66f2191a8 Mon Sep 17 00:00:00 2001 From: humano Date: Mon, 30 Oct 2017 15:22:01 -0500 Subject: [PATCH] correcion en etiquetas de estadisticas --- milfs/funciones/funciones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 3fde7b4..f063cbf 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -606,7 +606,7 @@ mysqli_set_charset($link, "utf8"); } $datos= json_encode($dato); $data = "[".substr ($datas, 0, -1)."]"; - $etiqueta = "[".substr ($etiquetas, 0, -1)."]"; + $etiqueta = "[".substr (preg_replace("[\n|\r|\n\r|\t]",'', $etiquetas), 0, -1)."]"; $color = "[".substr ($colores, 0, -1)."]"; $data_grafica= "