From: Myrna Degano Date: Tue, 9 Mar 2004 21:07:49 +0000 (+0000) Subject: Se corrige un error en el pager de TablaDB. X-Git-Tag: svn_import~91 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/d45895c22b503bf01e0fa82e54dfe35c6157a231 Se corrige un error en el pager de TablaDB. --- diff --git a/lib/MECON/HTML/TablaDB.php b/lib/MECON/HTML/TablaDB.php index 4e06d25..9130d9b 100644 --- a/lib/MECON/HTML/TablaDB.php +++ b/lib/MECON/HTML/TablaDB.php @@ -145,9 +145,9 @@ class MECON_HTML_TablaDB extends MECON_HTML_Tabla { */ function addPager($result, $tipo = null, $link = null, $limit = 10, $maxpages = 21, $getvar = 'from') { // Creo el pager con el resultado. - $pager = (is_array($result))? - new MECON_Array_Pager($result, @$_GET[$this->_getVarPrefix.$getvar], $limit, $maxpages): - new MECON_DB_Pager($result, @$_GET[$this->_getVarPrefix.$getvar], $limit, $maxpages); + $pager = (is_array($result))? + new MECON_Array_Pager($result, @$_GET[$this->getGetVarPrefix().$getvar], $limit, $maxpages): + new MECON_DB_Pager($result, @$_GET[$this->getGetVarPrefix().$getvar], $limit, $maxpages); // Obtengo un link vĂ¡lido. if (!$link) {