From 3e3f8cf64251530802bb6a769d79e250b27d0fd1 Mon Sep 17 00:00:00 2001 From: iRvan FauziE Date: Fri, 8 Jun 2018 16:10:46 +0700 Subject: [PATCH] Update BCAParser.php update kesalahan variable di function getTransaksiCredit --- BCAParser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BCAParser.php b/BCAParser.php index fa90fd6..23f2871 100755 --- a/BCAParser.php +++ b/BCAParser.php @@ -281,7 +281,7 @@ public function getListTransaksi($from, $to) public function getTransaksiCredit($from, $to) { $result = $this->getListTransaksi($from, $to); - $result = array_filter($results, function($row){ + $result = array_filter($result, function($row){ return $row['flows'] == 'CR'; }); return $result; @@ -323,4 +323,4 @@ public function logout() return $this->exec(); } -} \ No newline at end of file +}