X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/fc32613380df9845ff3916e36771f361d0469345..40d6fc46a83aa944f0304b3f09cfd9337bea5130:/lib/noticia.php?ds=sidebyside diff --git a/lib/noticia.php b/lib/noticia.php index ec4b46b..cc2b5f7 100644 --- a/lib/noticia.php +++ b/lib/noticia.php @@ -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();