Correcion bug que mostraba error xml en el campo limite

This commit is contained in:
humano 2014-12-18 09:12:47 -05:00
parent 6080b62e81
commit 327e86937a
1 changed files with 3 additions and 2 deletions

View File

@ -3465,8 +3465,9 @@ if (mysql_num_rows($sql)!='0'){
$limite=mysql_result($sql,0,"campo_valor");
}else{}
if($contenido !='') {
$respuesta = new xajaxResponse('utf-8');
if($contenido !='') {
$size= strlen($contenido);
$restante = ($limite - $size);
$div_input = "input_$id_campo";