X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8782288c3f53321a0f1d41bb9f8450aaf838be14..37455ff9c1fc0ff0c82e300607fc798686d8ca6a:/lib/MECON/Marco.php diff --git a/lib/MECON/Marco.php b/lib/MECON/Marco.php index 3450bbc..85cd4bb 100644 --- a/lib/MECON/Marco.php +++ b/lib/MECON/Marco.php @@ -217,6 +217,9 @@ Si es un objeto debe tener un metodo toHtml y opcionalmente puede tener un getCS */ function addMenuVertical($menuVertical) // ~X2C { + if ((is_object($menuVertical)) && (method_exists($menuVertical, 'getcss'))) { + $this->addStyleSheet($menuVertical->getCSS()); + } $this->_menuVertical = $menuVertical; } // -X2C