diff --git a/lib/Fhp/Parser/MT940.php b/lib/Fhp/Parser/MT940.php index 22cac9a..b53f96d 100755 --- a/lib/Fhp/Parser/MT940.php +++ b/lib/Fhp/Parser/MT940.php @@ -126,7 +126,8 @@ protected function parseToArray() if (preg_match('/^\d{4}$/', $bookingDate)) { $bookingDate = $this->getDate($year . $bookingDate); } else { - $bookingDate = null; + // if booking date not set in :61, then we have to take it from :60F + $bookingDate = $this->soaDate; } $trx[count($trx) - 1]['booking_date'] = $bookingDate;