ZF-3297: barcode validation accepts alpha characters - ean 13

Description


    // 3RH1131-1BB40 isn´t valid ean 13
    
    
    $EAN = new Zend_Validate_Barcode_Ean13();
    
    // return 1
    echo $EAN->isValid('3RH1131-1BB40');
    
    if ($EAN->isValid('3RH1131-1BB40') === true) {
        echo 'bug! ean 13 must contains only digits http://en.wikipedia.org/wiki/…';
    }

Comments

Please evaluate and fix/categorize as necessary.

Fixed in svn r1179