From c9f79bae4575d22ee6f158c136136bad164011ac Mon Sep 17 00:00:00 2001 From: humano Date: Sat, 10 Nov 2018 09:55:55 -0500 Subject: [PATCH] ordenes --- funciones/funciones.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 8affd96..7457938 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -7521,7 +7521,7 @@ foreach($listado_campos as $campo=>$valor){ $contenido_limpio = stripslashes($contenido[0]); $contenido_array = json_decode($contenido_limpio,true); $array =$contenido_array[$id_campo][0]; - $valor_actual= campo_tabla($array,$control,$tipo)."tabla"; + $valor_actual= campo_tabla($array,$control,$tipo).""; }else{ $valor_actual="";} @$listado_campos .= "$valor_actual"; @@ -13500,12 +13500,19 @@ if (mysqli_num_rows($sql)!='0'){ "; } } + elseif($campo_tipo=='2' AND $contenido !=""){ + + $contenido= nl2br("$contenido"); + + } elseif(($campo_tipo=='2' OR $campo_tipo=='7' OR $campo_tipo=='1' OR $campo_tipo=='17')AND $contenido !=""){ $contenido= html_entity_decode(stripslashes("$contenido")); } + + else { $html ="$contenido"; $contenido = nl2br($html);