PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » Pager » Bug #10244

function Pager_Wrapper_MDB2 don't work

Details

Submitted2007-03-02 15:51 UTC
Fromksku at php dot net
Assignedquipo
StatusBogus
PackagePager
PHP Version5.2.0
OSWINXP
Roadmaps(Not assigned)

Comments

[2007-03-02 15:51 UTC] ksku at php dot net

Description:
------------
Common.php
online 1431
if (isset($_REQUEST[$this->_urlVar]) && empty($options['currentPage'])) {
$this->_currentPage = (int)$_REQUEST[$this->_urlVar];
}
should be following:

if (isset($_GET[$this->_urlVar]) && empty($options['currentPage'])) {
$this->_currentPage = (int)$_GET[$this->_urlVar];
}
or getCurrentPageID() will not work;