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

Bug #13469 getPerPageSelectBox can produce invalid xhtml
Submitted: 2008-03-23 06:31 UTC
From: doconnor Assigned: quipo
Status: Closed Package: Pager (version 2.4.5)
PHP Version: 5.2.5 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-03-23 06:31 UTC] doconnor (Daniel O'Connor)
Description: ------------ If you have a getPerPageSelectBox() and an empty array/set of data, this method will produce: <select></select> .. which is invalid XHTML. It should produce <select><option /></select>

Comments

 [2008-03-26 20:36 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.