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

Bug #7607 Validate_ISPN::isbn doesn't work with ISBN13
Submitted: 2006-05-11 15:45 UTC Modified: 2006-08-17 14:21 UTC
From: pascal at zyzomys dot com Assigned: makler
Status: Closed Package: Validate_ISPN (version 0.6.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-11 15:45 UTC] pascal at zyzomys dot com (Pascal Hubrecht)
Description: ------------ Validate_ISPN::isbn() doesn't work with isbn13 numbers Test script: --------------- $noYes = array('NO', 'YES'); $isbn13 = '978-1-873671-00-9'; echo $noYes[Validate_ISPN::isbn($isbn13)]; /* To resolve this bug, just remove lines 69 to 71 from file ISPN.php */ Expected result: ---------------- expected result is YES Actual result: -------------- actual result is NO

Comments

 [2006-08-17 14:21 UTC] makler at php dot net (Piotr Klaban)
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.