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