From d71c62a624617b6600930bde83d232bcf7610982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87oban?= Date: Wed, 3 Apr 2019 00:40:49 +0300 Subject: [PATCH] Update Parser.php blank value is fix --- lib/OfxParser/Parser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/OfxParser/Parser.php b/lib/OfxParser/Parser.php index 23609fd..7059e5c 100644 --- a/lib/OfxParser/Parser.php +++ b/lib/OfxParser/Parser.php @@ -140,6 +140,8 @@ private function parseHeader($ofxHeader) $ofxHeaderLine = explode(' ', trim($ofxHeaderLines[1])); foreach ($ofxHeaderLine as $value) { + if ($value == null) + break; $tag = explode('=', $value); $header[$tag[0]] = $tag[1]; }