Browse Source

fix variable name

main
ghost 1 year ago
parent
commit
851efe0392
  1. 2
      templates/default/user/info.html.twig

2
templates/default/user/info.html.twig

@ -118,7 +118,7 @@
{{ 'Moderator' | trans }} {{ 'Moderator' | trans }}
</td> </td>
<td> <td>
{% if session.moderator %} {% if user.moderator %}
{{ 'Yes'| trans }} {{ 'Yes'| trans }}
{% if session.moderator %} {% if session.moderator %}
<a class="float-right" href="{{ path('user_moderator_toggle', { userId : user.id }) }}" title="{{ 'Toggle' | trans }}"> <a class="float-right" href="{{ path('user_moderator_toggle', { userId : user.id }) }}" title="{{ 'Toggle' | trans }}">

Loading…
Cancel
Save