From: Gonzalo Merayo Date: Thu, 10 Jul 2003 21:16:54 +0000 (+0000) Subject: error en los grupos de noticias X-Git-Tag: svn_import~233 X-Git-Url: https://git.llucax.com/mecon/intranet.git/commitdiff_plain/09c1c14e1be4c8f8a08c785242e3bba96bd1f9c2?ds=sidebyside error en los grupos de noticias --- diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php index 0ebba56..75ef290 100644 --- a/sistema/www/noticias.php +++ b/sistema/www/noticias.php @@ -19,7 +19,10 @@ 'prepend_link' => 'noticias.php?grupo='); $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); - $titulares = new HTML_Titulares($_GET['grupo'], 7); + $grupo = null; + if(isset($_GET['grupo'])) + $grupo = $_GET['grupo']; + $titulares = new HTML_Titulares($grupo, 7); $noticias->addRow(array($arbol,$titulares)); $noticias->updateCellAttributes(0, 0, array('valign'=>'top', 'width'=>'160')); $noticias->updateCellAttributes(0, 1, array('width'=>'600'));