undone last commit.

This commit is contained in:
Marcel Naeve 2016-05-13 16:09:20 +02:00
parent c49572678c
commit 3ff2faf16c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class Validate
// The IBAN matches in length and basic structure? // The IBAN matches in length and basic structure?
$matches = null; $matches = null;
if(mb_ereg_match('/^([A-Za-z]{2})(\d{2})([A-Za-z0-9]{' . $country_length[$country] . ',' . $country_length[$country] . '})$/', $iban, $matches)) { if(mb_ereg_match('/^([A-Za-z]{2})(\d{2})([A-Za-z0-9]{' . $country_length[$country] . '})$/', $iban, $matches)) {
$checkNum = $matches[1]; $checkNum = $matches[1];
$bban = strtoupper($matches[2]); $bban = strtoupper($matches[2]);