Skip to content

Commit

Permalink
Merge branch 'hotfix/2776'
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Oct 16, 2012
2 parents af8339e + c617b3f commit 84c6954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Validator/Iban.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function isValid($value)
return false;
}

$value = strtoupper($value);
$value = str_replace(' ', '', strtoupper($value));
$this->setValue($value);

$countryCode = $this->getCountryCode();
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Validator/IbanTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 84c6954

Please sign in to comment.