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

Bug #12796 curPageLinkClassName override curPageSpanPre and curPageSpanPost
Submitted: 2007-12-30 13:09 UTC
From: chihwen Assigned: quipo
Status: Closed Package: Pager (version 2.4.4)
PHP Version: Irrelevant 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 : 10 + 20 = ?

 
 [2007-12-30 13:09 UTC] chihwen (Chih-Wen Yang)
Description: ------------ If setup curPageLinkClassName, curPageSpanPre, curPageSpanPost in the meantime then curPageLinkClassName override curPageSpanPre and curPageSpanPost. Because the following logic in the common.php 1436 to 1439 line: if (strlen($this->_curPageLinkClassName)) { $this->_curPageSpanPre = '<span class="'.$this->_curPageLinkClassName.'">'; $this->_curPageSpanPost = '</span>'; }

Comments

 [2008-01-06 13:10 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.
 [2008-01-07 01:58 UTC] chihwen (Chih-Wen Yang)
OK, thanks.