We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10eed7a commit f2c98c0Copy full SHA for f2c98c0
src/Models/CustomFieldOption.php
@@ -54,7 +54,7 @@ protected static function boot(): void
54
}
55
56
// Check if encryption is enabled
57
- if ($option->customField?->settings?->encrypted) {
+ if ($option->customField && $option->customField->settings->encrypted) {
58
$option->attributes['name'] = Crypt::encryptString($rawName);
59
60
});
0 commit comments