X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e0e275daf3624e7c6bfce0eb27717d14572273ce..40d6fc46a83aa944f0304b3f09cfd9337bea5130:/lib/noticia.php?ds=sidebyside diff --git a/lib/noticia.php b/lib/noticia.php index 182edab..cc2b5f7 100644 --- a/lib/noticia.php +++ b/lib/noticia.php @@ -155,7 +155,7 @@ class noticia { */ function getLinks() // ~X2C { - $db = MEconDAVDB::Connect(); + $db = IntranetDB::Connect(); $sql = "SELECT R.link_id, A.headline FROM MEconDAV.Relations R, MEconDAV.Articles A WHERE R.link_id = A.article_id @@ -175,7 +175,7 @@ class noticia { */ function getArchivos() // ~X2C { - $db = MEconDAVDB::Connect(); + $db = IntranetDB::Connect(); $sql = "SELECT file_for_article_id, caption FROM MEconDAV.FilesForArticle WHERE article_id = ".$this->noticia; $result =& $db->query($sql); $archivos = array();