From 2c4c1d44b0f728e1713ed0ad589ed63a586e7091 Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Fri, 17 Jan 2025 10:15:09 +0100 Subject: [PATCH] fix(knowbase): Usage of parameter is deprecated --- templates/pages/tools/kb/knowbaseitem.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pages/tools/kb/knowbaseitem.html.twig b/templates/pages/tools/kb/knowbaseitem.html.twig index 11c2ec7378c..d590deb9927 100644 --- a/templates/pages/tools/kb/knowbaseitem.html.twig +++ b/templates/pages/tools/kb/knowbaseitem.html.twig @@ -62,7 +62,7 @@ {% endset %} {% endif %} {% if item.fields['users_id'] %} - {% set user_field = call('getUserName', [item.fields['users_id'], has_profile_right('user', constant('READ')) ? 1 : 0]) %} + {% set user_field = call('getUserLink', [item.fields['users_id']]) %} {{ fields.htmlField('', user_field, __('Writer')) }} {% else %} {{ fields.nullField() }}