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

Bug #16712 sometimes the class will fail with modulus operator
Submitted: 2009-10-18 16:56 UTC
From: speedy18us Assigned: davidc
Status: Closed Package: Text_CAPTCHA_Numeral (version 1.2.0)
PHP Version: 5.3.0 OS: windows
Roadmaps: (Not assigned)    
Subscription  


 [2009-10-18 16:56 UTC] speedy18us (speedy18us speedy)
Description: ------------ sometimes the class will fail with modulus operator. why? because 10 % 10 is 0, and 0 equals nothing. if i don't enter nothing in form, the compare $_POST['validation'] == $_SESSION['validation'] will result allways true for the operation above.

Comments

 [2010-04-07 20:16 UTC] davidc (David Coallier)
-Status: Open +Status: Closed -Assigned To: +Assigned To: davidc
This bug has been fixed in SVN. 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.