Home » HTML » Pager_Sliding » Bug #4883
Change $_GET to $_REQUEST
Details
| Request #4883 | Change $_GET to $_REQUEST |
|---|---|
| Submitted | 2005-07-22 12:30 UTC |
| From | albsala at gmail dot com |
| Assigned | quipo |
| Status | Closed |
| Package | Pager_Sliding |
| PHP Version | 4.3.11 |
| OS | GNU/Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-07-22 12:30 UTC] albsala at gmail dot com
Description:
------------
In the line 1127-1128 (version 1.19) (function _setOptions) I change $_GET to $_REQUEST because I use a html form with a hidden input "page". It's usefull.
If this is a stupid request, sorry. I'm a begginer with a poor english.
Test script:
---------------
-I would change this lines:
if (isset($_GET[$this->_urlVar])) {
$this->_currentPage = max((int)@$_GET[$this->_urlVar], 1);
-to:
if (isset($_REQUEST[$this->_urlVar])) {
$this->_currentPage = max((int)@$_REQUEST[$this->_urlVar], 1);