Update FixMissingUserProfile.php

pull/5988/head
Daniel Supernault 4 weeks ago
parent cd817009d3
commit 91b15a9dfa
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -41,7 +41,7 @@ class FixMissingUserProfile extends Command
$id = search( $id = search(
label: 'Search for the affected username', label: 'Search for the affected username',
options: fn (string $value) => strlen($value) > 0 options: fn (string $value) => strlen($value) > 0
? User::doesntHave('profile')->whereNull('status')->whereLike('username', "%{$value}%")->pluck('name', 'id')->all() ? User::doesntHave('profile')->whereNull('status')->whereLike('username', "%{$value}%")->pluck('username', 'id')->all()
: [] : []
); );

Loading…
Cancel
Save