From 8ba33995d4112a42b1ca73580d8a30b06bf28a7a Mon Sep 17 00:00:00 2001 From: Lukas Schreiner Date: Thu, 5 Aug 2021 19:23:15 +0200 Subject: [PATCH] Update PaypalCsvToMt940.php Fix language option --- src/PaypalCsvToMt940.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PaypalCsvToMt940.php b/src/PaypalCsvToMt940.php index 47051b1..708e873 100644 --- a/src/PaypalCsvToMt940.php +++ b/src/PaypalCsvToMt940.php @@ -24,7 +24,7 @@ class PaypalCsvToMt940 public function __construct($csv, $language = 'NL', $options = []) { - $this->setOptions($options); + $this->setOptions($options); $this->loadFile($csv); } @@ -115,7 +115,7 @@ class PaypalCsvToMt940 } if(isset($options['language'])) { - $this->options['language'] = substr(strtolower($options['location']), 0, 2); + $this->options['language'] = substr(strtolower($options['language']), 0, 2); } } @@ -140,4 +140,4 @@ class PaypalCsvToMt940 return true; } -} \ No newline at end of file +} -- GitLab