From 7a57670925f310356d5e79936e1cc3c262eb3106 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 30 Dec 2016 08:51:26 +0100 Subject: [PATCH] Fix small bug in database verifier. [skip ci] --- app/Console/Commands/VerifyDatabase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Console/Commands/VerifyDatabase.php b/app/Console/Commands/VerifyDatabase.php index f7b0aab503..8c73968caa 100644 --- a/app/Console/Commands/VerifyDatabase.php +++ b/app/Console/Commands/VerifyDatabase.php @@ -130,10 +130,9 @@ class VerifyDatabase extends Command /** @var Budget $entry */ foreach ($set as $entry) { - $name = intval($entry->encrypted) === 1 ? Crypt::decrypt($entry->name) : $entry->name; $line = sprintf( 'Notice: User #%d (%s) has budget #%d ("%s") which has no budget limits.', - $entry->user_id, $entry->email, $entry->id, $name + $entry->user_id, $entry->email, $entry->id, $entry->name ); $this->line($line); }