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

Bug #2879 Issn wrong validation
Submitted: 2004-12-03 10:15 UTC
From: antonio at c17 dot net Assigned: dufuz
Status: Closed Package: Validate
PHP Version: 4.2.1 OS: GNU/Linux Debian Woody 3.0
Roadmaps: (Not assigned)    

 [2004-12-03 10:15 UTC] antonio at c17 dot net
Description: ------------ The method for validate Issn numbers fails when the last position is a 0. You can try it with 0366-3590 0004-6620 0394-6320 0395-7500 All theese numbers are registered at


 [2004-12-03 21:05 UTC] dufuz
I've been looking at now, and it seems there shouldn't be done substraction if the number we get out of the divide is the same as the control digit. Go to and test using 0317-8471 and 0366-3590, and see how they do it, they skip the subtraction on the later one. Hope this is good enough pointer for Pierre or any developer on Validate to fix this problem :)
 [2005-01-18 02:20 UTC] dufuz
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.