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

Bug #589 common.php raise a notice if the querystring has no '=' character
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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 2 + 49 = ?

 
 [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

Comments

 [2004-01-16 10: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.