Skip to content

Commit

Permalink
fix(knowbase): Usage of parameter is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B authored and trasher committed Jan 17, 2025
1 parent 30b22ac commit 2f33ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/pages/tools/kb/knowbaseitem.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down

0 comments on commit 2f33ab8

Please sign in to comment.