PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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;