Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.4.8

Bug #589 common.php raise a notice if the querystring has no '=' character
Submitted: 2004-01-15 22:16 UTC Modified: 2004-01-16 05:33 UTC
From: maka3d at yahoo dot com dot br Assigned: quipo
Status: Closed Package: Pager
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-01-15 22: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

Comments

 [2004-01-16 05:33 UTC] quipo
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.