Home » HTML » Pager » Bug #589
common.php raise a notice if the querystring has no '=' character
Details
| Submitted | 2004-01-16 03:16 UTC |
|---|---|
| From | maka3d at yahoo dot com dot br |
| Assigned | quipo |
| Status | Closed |
| Package | Pager |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-01-16 03:16 UTC] maka3d at yahoo dot com dot br
Description:
------------
common.php 641 to 647
call a page that use pager like this:
pager.php?var
a notice is raised since there's no '=' character
here's a patch
if(strstr($qs[$i], '=') !== false){ // check first if exist a pair
list($name, $value) = explode('=', $qs[$i]);
if ($name != $this->_urlVar) {
$qs[$name] = $value;
}
}else{
$qs[$qs[$i]] = ''; // do not ignore the "not pair" parameter