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= "