mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 20:54:04 -06:00
Fix #1807
This commit is contained in:
parent
1c8375d0c2
commit
9b58c28be8
@ -79,7 +79,7 @@ class UseEncryption extends Command
|
|||||||
$fqn = sprintf('FireflyIII\Models\%s', $class);
|
$fqn = sprintf('FireflyIII\Models\%s', $class);
|
||||||
$encrypt = true === config('firefly.encryption') ? 0 : 1;
|
$encrypt = true === config('firefly.encryption') ? 0 : 1;
|
||||||
/** @noinspection PhpUndefinedMethodInspection */
|
/** @noinspection PhpUndefinedMethodInspection */
|
||||||
$set = $fqn::where($indicator, $encrypt)->withDeleted()->get();
|
$set = $fqn::where($indicator, $encrypt)->withTrashed()->get();
|
||||||
|
|
||||||
foreach ($set as $entry) {
|
foreach ($set as $entry) {
|
||||||
$newName = $entry->$field;
|
$newName = $entry->$field;
|
||||||
|
Loading…
Reference in New Issue
Block a user