Skip to content

Firefly III: a personal finances manager

Encrypt more stuff in the cleanup routine [skip ci]

James Coleb8275b473405
diff --git a/app/Http/Middleware/Cleanup.php b/app/Http/Middleware/Cleanup.php
index 324c4b4f94..6e332a75c5 100644
--- a/app/Http/Middleware/Cleanup.php
+++ b/app/Http/Middleware/Cleanup.php
@@ -219,7 +219,7 @@ class Cleanup
unset($set, $entry, $amount);
// encrypt piggy bank repetition currentamount
- $set = PiggyBankRepetition::whereNull('amount_encrypted')->take(5)->get();
+ $set = PiggyBankRepetition::whereNull('currentamount_encrypted')->take(5)->get();
/** @var PiggyBankRepetition $entry */
foreach ($set as $entry) {
$count++;