fruitl00p / php-mt940

A mt940 parser in PHP
MIT License
103 stars 60 forks source link

Fix missing currency letter to cause the first number of the transaction to be cut of #17

Closed sven-codeculture closed 9 years ago

sven-codeculture commented 9 years ago

(Currencys always have a letter at the 3rd letter of the currency code (http://www.xe.com/iso4217.php))

Bug was caused by my last fix #14 since i didnt pay Attantion that if the currency is missing the first number for the transaction will be cut off. Since the currency ISO's 3rd character is always an Letter i check for [a-zA-Z] now instad of anything.

fruitl00p commented 9 years ago

thanks

sven-codeculture commented 9 years ago

is if possible to get an hoxfix version for that fix? at the moment one of our customers can't process his bank statement files and i would prefer just updating my composer file then having the spk class duplicate in the project.

Greeting Sven