summaryrefslogtreecommitdiff
path: root/includes/view/UserDriverLicenses_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/UserDriverLicenses_view.php')
-rw-r--r--includes/view/UserDriverLicenses_view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/view/UserDriverLicenses_view.php b/includes/view/UserDriverLicenses_view.php
index 317910b6..664a5d58 100644
--- a/includes/view/UserDriverLicenses_view.php
+++ b/includes/view/UserDriverLicenses_view.php
@@ -12,7 +12,7 @@ function UserDriverLicense_edit_view($user_source, $wants_to_drive, $user_driver
{
return page_with_title(sprintf(__('Edit %s driving license information'), User_Nick_render($user_source)), [
buttons([
- button(user_link($user_source), __('Back to profile'), 'back')
+ button(user_link($user_source['UID']), __('Back to profile'), 'back')
]),
msg(),
form([