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