From 6bdad83ad66afcb1ddee27ad3eba8eeff45af600 Mon Sep 17 00:00:00 2001 From: humano Date: Fri, 2 Nov 2018 09:29:59 -0500 Subject: [PATCH] correccion bug en plantillas --- funciones/funciones.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 9601c9e..439c1c1 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -8152,8 +8152,9 @@ if($valores =="boton") { while( $row = mysqli_fetch_array( $sql ) ) { $campos_opcion = explode(":",$row[opcion]); $plantilla_nombre = $campos_opcion[1]; + if(is_null($row[id_empresa])){ $class="danger";}else{$class='success';} $listado .= ""; - $li .= " + $li .= " $plantilla_nombre Editar Ver