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

Bug #13913 empty prev/next image shown when only one page exists
Submitted: 2008-05-16 08:30 UTC
From: cweiske Assigned: quipo
Status: Closed Package: Pager (version 2.4.6)
PHP Version: 5.2.6 OS:
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 : 50 - 29 = ?

 
 [2008-05-16 08:30 UTC] cweiske (Christian Weiske)
Description: ------------ When only data for one page exist, the whole pager is empty - except for the empty(prev|next)img sequences. In that case, those sequences should also be not drawn. The following patch fixes that: http://patches.netresearch.de/pear-pager-backnextempty.diff (Successor of bug #13509) Expected result: ---------------- - no pager - Actual result: -------------- << prev next >>

Comments

 [2008-05-18 18:09 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.