fix mailto link

This commit is contained in:
Thomas Rupprecht 2022-12-10 23:07:25 +01:00 committed by Igor Scheller
parent 0633f8f335
commit 5604176675
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ function admin_free()
'last_shift' => User_last_shift_render($usr),
'dect' => sprintf('<a href="tel:%s">%1$s</a>', $usr->contact->dect),
'email' => $usr->settings->email_human
? sprintf('<a href="email:%s">%1$s</a>', $email)
? sprintf('<a href="mailto:%s">%1$s</a>', $email)
: icon('eye-slash'),
'actions' =>
auth()->can('admin_user')