|
|
@@ -195,14 +195,12 @@ class Zend_Validate_Barcode extends Zend_Validate_Abstract
|
|
|
$result = $adapter->checkLength($value);
|
|
|
if (!$result) {
|
|
|
$this->_error(self::INVALID_LENGTH);
|
|
|
-print "x";
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
$result = $adapter->checkChars($value);
|
|
|
if (!$result) {
|
|
|
$this->_error(self::INVALID_CHARS);
|
|
|
-print "y";
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -210,7 +208,6 @@ print "y";
|
|
|
$result = $adapter->checksum($value);
|
|
|
if (!$result) {
|
|
|
$this->_error(self::FAILED);
|
|
|
-print "z";
|
|
|
return false;
|
|
|
}
|
|
|
}
|