X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/83cf0a600579a4b59b7458f42eacf92eb75ba5b5..d26554a315b8a4e8ce9c16ec9440815d74fadfab:/lib/noticia.php 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