From 99a0bf1286e23f4159e67716c99e2d0042e68afe Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 25 Jul 2017 21:01:25 +0200 Subject: [PATCH] This fixes #717 --- app/Repositories/Account/AccountRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.php index 94ba80baf9..c1f4b364ac 100644 --- a/app/Repositories/Account/AccountRepository.php +++ b/app/Repositories/Account/AccountRepository.php @@ -179,7 +179,7 @@ class AccountRepository implements AccountRepositoryInterface { // update the account: $account->name = $data['name']; - $account->active = $data['active'] === '1' ? true : false; + $account->active = $data['active']; $account->virtual_balance = $data['virtualBalance']; $account->iban = $data['iban']; $account->save();