Skip to content

Firefly III: a personal finances manager

This fixes #717

James Cole99a0bf1286e2
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();