Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #1807
James Cole9b58c28be860
diff --git a/app/Console/Commands/UseEncryption.php b/app/Console/Commands/UseEncryption.phpindex 4958d7e327..3f50aeadd0 100644--- a/app/Console/Commands/UseEncryption.php+++ b/app/Console/Commands/UseEncryption.php@@ -79,7 +79,7 @@ class UseEncryption extends Command$fqn = sprintf('FireflyIII\Models\%s', $class);$encrypt = true === config('firefly.encryption') ? 0 : 1;/** @noinspection PhpUndefinedMethodInspection */- $set = $fqn::where($indicator, $encrypt)->withDeleted()->get();+ $set = $fqn::where($indicator, $encrypt)->withTrashed()->get();foreach ($set as $entry) {$newName = $entry->$field;