X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/707e1370e56a9a9536a81aab72b530c48e3d361e..3b2afa96baebfb799446a404373da59a542b9383:/lib/noticia.php?ds=sidebyside diff --git a/lib/noticia.php b/lib/noticia.php index 96ba6b2..50e8970 100644 --- a/lib/noticia.php +++ b/lib/noticia.php @@ -60,9 +60,9 @@ class noticia { WHERE Article_id = $noticia"; $result = $db->query($query); $row = $result->fetchRow(); - $this->titulo2 = $row[0]; - $this->titulo = $row[1]; - $this->abstracto = $row[2]; + $this->titulo = $row[0]; + $this->titulo2 = $row[1]; + $this->sintesis = $row[2]; $this->texto = $row[3]; $this->fecha = new Date($row[4]); } @@ -95,9 +95,9 @@ class noticia { * @return string * @access public */ - function getAbstracto() // ~X2C + function getSintesis() // ~X2C { - return $this->abstracto; + return $this->sintesis; } // -X2C