X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e0e275daf3624e7c6bfce0eb27717d14572273ce..3cf75bf27a5cea46f4896688c546b65aba12dc40:/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();