Skip to content

Firefly III: a personal finances manager

Fix order for bills.

James Coleab80803f0ffb
diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php
index e6957abe4b..5d510c8e75 100644
--- a/app/Repositories/Bill/BillRepository.php
+++ b/app/Repositories/Bill/BillRepository.php
@@ -116,7 +116,7 @@ class BillRepository implements BillRepositoryInterface
$set = $set->sortBy(
function (Bill $bill) {
- $int = $bill->active === 1 ? 0 : 1;
+ $int = $bill->active ? 0 : 1;
return $int . strtolower($bill->name);
}