From 3c199c6dfbf6fab52906d588071b37efbb2c9490 Mon Sep 17 00:00:00 2001 From: humano Date: Sun, 1 Apr 2018 14:03:29 -0500 Subject: [PATCH] Correcion bug campo radio --- milfs/funciones/funciones.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 728df4d..54b97f9 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -16340,7 +16340,9 @@ if (mysqli_num_rows($sql)!='0'){ $resultado="" ; while( $row = mysqli_fetch_array( $sql ) ) { -if($row[campo_valor] ==="$valor"){$selected="checked";}else{$selected ="";} + $valor=html_entity_decode("$valor"); + +if($row['campo_valor'] ==="$valor"){$selected="checked";}else{$selected ="";} $resultado .= "