Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'hotfix/2776'

Close #2776
  • Loading branch information...
commit 84c69542d982ef4cc1a143c48d72138a29addb02 2 parents af8339e + c617b3f
@weierophinney weierophinney authored
View
2  library/Zend/Validator/Iban.php
@@ -226,7 +226,7 @@ public function isValid($value)
return false;
}
- $value = strtoupper($value);
+ $value = str_replace(' ', '', strtoupper($value));
$this->setValue($value);
$countryCode = $this->getCountryCode();
View
2  tests/ZendTest/Validator/IbanTest.php
@@ -25,7 +25,7 @@ public function ibanDataProvider()
return array(
array('AD1200012030200359100100', true),
array('AT611904300234573201', true),
- array('AT61 1904 3002 3457 3201', false),
+ array('AT61 1904 3002 3457 3201', true),
array('AD1200012030200354100100', false),
array('AL47212110090000000235698741', true),
Please sign in to comment.
Something went wrong with that request. Please try again.