Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

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
3 parents e01e6b0 + 9e243bd + 49a2a51 commit 4e4acfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/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 test/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 4e4acfe

Please sign in to comment.