From 327e86937aaf9198cce24b947b317ab329a4763e Mon Sep 17 00:00:00 2001 From: humano Date: Thu, 18 Dec 2014 09:12:47 -0500 Subject: [PATCH] Correcion bug que mostraba error xml en el campo limite --- milfs/funciones.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/milfs/funciones.php b/milfs/funciones.php index f360be9..9c99d24 100755 --- a/milfs/funciones.php +++ b/milfs/funciones.php @@ -2799,7 +2799,7 @@ $consulta =" $render = "$limite / - + "; } @@ -3465,8 +3465,9 @@ if (mysql_num_rows($sql)!='0'){ $limite=mysql_result($sql,0,"campo_valor"); }else{} +$respuesta = new xajaxResponse('utf-8'); if($contenido !='') { - $respuesta = new xajaxResponse('utf-8'); + $size= strlen($contenido); $restante = ($limite - $size); $div_input = "input_$id_campo";