From d45895c22b503bf01e0fa82e54dfe35c6157a231 Mon Sep 17 00:00:00 2001 From: Myrna Degano Date: Tue, 9 Mar 2004 21:07:49 +0000 Subject: [PATCH 1/1] Se corrige un error en el pager de TablaDB. --- lib/MECON/HTML/TablaDB.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.43.0