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  


 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!