From 3c4bbb1edad6d25aadeecc57f93cb81f943c9cbb Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 6 Oct 2003 19:15:34 +0000 Subject: [PATCH] Se arregla bug de estilos. --- lib/MECON/HTML/Arbol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index fcd976f..9603830 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -137,7 +137,7 @@ class MECON_HTML_Arbol extends HTML_Table foreach ($dat as $e) { $titulo = $e['titulo']; if(isset($e['activo']) && $e['activo'] != 0) $class = 'menu_activo'; - else $class = $classes[$n]; + else $class = @$classes[$n] ? $classes[$n] : end($classes); if(isset($e['bold'])) $class .= '_bold'; if(!is_null($e['link'])) { $link = $e['link']; -- 2.43.0