From fe08f39900008fb71e0a11f39ed404edcd16a29e Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 7 Mar 2024 14:43:06 +0000 Subject: [PATCH] Fixed typo Signed-off-by: snipe --- app/Console/Commands/ToggleCustomfieldEncryption.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/ToggleCustomfieldEncryption.php b/app/Console/Commands/ToggleCustomfieldEncryption.php index 54b1e704b9..4a6498048c 100644 --- a/app/Console/Commands/ToggleCustomfieldEncryption.php +++ b/app/Console/Commands/ToggleCustomfieldEncryption.php @@ -22,7 +22,7 @@ class ToggleCustomfieldEncryption extends Command * * @var string */ - protected $description = 'This command should be used to convert an unencypted custom field into a custom field and encrypt the associated data in the assets table for that column.'; + protected $description = 'This command should be used to convert an unencrypted custom field into a custom field and encrypt the associated data in the assets table for that column.'; /** * Create a new command instance. @@ -44,7 +44,7 @@ class ToggleCustomfieldEncryption extends Command $fieldname = $this->argument('fieldname'); if ($field = CustomField::where('db_column', $fieldname)->first()) { - + // If the field is not encrypted, make it encrypted and encrypt the data in the assets table for the // corresponding field. if ($field->field_encrypted == 0) {