mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 08:11:20 +00:00
This should fix a bug in the verification routine.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -100,12 +100,7 @@ class VerifyDatabase extends Command
|
|||||||
|
|
||||||
/** @var stdClass $entry */
|
/** @var stdClass $entry */
|
||||||
foreach ($set as $entry) {
|
foreach ($set as $entry) {
|
||||||
|
$name = $entry->name;
|
||||||
$isEncrypted = intval($entry->encrypted) === 1;
|
|
||||||
$name = $entry->name;
|
|
||||||
if ($isEncrypted) {
|
|
||||||
$name = Crypt::decrypt($entry->name);
|
|
||||||
}
|
|
||||||
$line = 'User #%d (%s) has account #%d ("%s") which has no transactions.';
|
$line = 'User #%d (%s) has account #%d ("%s") which has no transactions.';
|
||||||
$line = sprintf($line, $entry->user_id, $entry->email, $entry->id, $name);
|
$line = sprintf($line, $entry->user_id, $entry->email, $entry->id, $name);
|
||||||
$this->line($line);
|
$this->line($line);
|
||||||
|
Reference in New Issue
Block a user