X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8782288c3f53321a0f1d41bb9f8450aaf838be14..f5695eabef67532410706e9c6d8dbdae5e098429:/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