X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e0e275daf3624e7c6bfce0eb27717d14572273ce..92dddbead1f3163d8100b72e3e396b09dbe3b637:/lib/noticia.php 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();