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

Bug #2182 problems displaying "0"
Submitted: 2004-08-21 13:25 UTC
From: pear dot php dot net at jog dot de Assigned: toby
Status: Closed Package: Image_Text
PHP Version: 4.3.8 OS:
Roadmaps: (Not assigned)    
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:
Solve the problem : 30 + 33 = ?

 [2004-08-21 13:25 UTC] pear dot php dot net at jog dot de
Description: ------------ If you want to display the text "0" the calculation of text width crashes... Reproduce code: --------------- 1065c1065 < if (empty($this->_text)) { Empty delivers true if $this->_text is "0". Expected result: ---------------- --- > if (!isset($this->_text)) { !isset delivers true only if there is really no text.


 [2004-09-01 13:10 UTC] toby
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 In case this was a 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.