bug en campo checkbox

This commit is contained in:
humano 2018-05-23 13:26:33 -05:00
parent c1ce9ec15b
commit e46a811d73

View File

@ -1834,10 +1834,11 @@ if ($tipo == "html"){
$campo_nombre = remplacetas('form_campos','id',"$id_campo",'campo_nombre',"") ;
$campo_descripcion = remplacetas('form_campos','id',"$id_campo",'campo_descripcion',"") ;
foreach ($valor as $c => $v) {
// $linea .= "<tr><td>$c $v</td></tr>";
$linea .= "<tr><td>$v</td></tr>";
if(is_array($v)){
foreach ($v as $c1 => $v1) {
$linea .= "<tr><td>$v1</td></tr>";
}
}}
}
}
@ -3563,6 +3564,7 @@ while( $row = mysqli_fetch_array( $datos_consulta ) ) {
$render = relacion_render("$row[form_id]","$row[id_campo]",$contenido[0],'5','');
$contenido[0] = "$valor_actual";}
else {$render=html_entity_decode($contenido[0]);}
if($tipo_campo[0]=='24' or $tipo_campo[0]=='30'){ $render= json_render("$contenido[0]","html","$control");}
$json_array[$row['campo_nombre']."_titulo"] = "$contenido[0]";