diff --git a/config/areas/users/dialogs.php b/config/areas/users/dialogs.php index b26f21e47a..22a3180fff 100644 --- a/config/areas/users/dialogs.php +++ b/config/areas/users/dialogs.php @@ -54,7 +54,7 @@ 'email' => '', 'password' => '', 'translation' => $kirby->panelLanguage(), - 'role' => $role ?? $roles['options'][0]['value'] ?? null + 'role' => $role ?: $roles['options'][0]['value'] ?? null ] ] ];