Skip to content

Commit fa3b789

Browse files
committed
[Web] fix issue #6185
1 parent 49e05f5 commit fa3b789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/web/templates/user.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{% if acl.spam_alias == 1 %}
1616
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="SpamAliases" role="tab" data-bs-toggle="tab" data-bs-target="#SpamAliases">{{ lang.user.spam_aliases }}</button></li>
1717
{% endif %}
18-
{% if acl.spam_score == 1 %}
18+
{% if acl.spam_score == 1 or acl.spam_policy == 1 %}
1919
<li class="nav-item" role="presentation"><button class="nav-link" role="tab" aria-selected="false" aria-controls="Spamfilter" role="tab" data-bs-toggle="tab" data-bs-target="#Spamfilter">{{ lang.user.spamfilter }}</button></li>
2020
{% endif %}
2121
{% if acl.syncjobs == 1 %}
@@ -36,7 +36,7 @@
3636
{% include 'user/tab-user-details.twig' %}
3737
{% include 'user/tab-user-settings.twig' %}
3838
{% if acl.spam_alias == 1 %}{% include 'user/SpamAliases.twig' %}{% endif %}
39-
{% if acl.spam_score == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
39+
{% if acl.spam_score == 1 or acl.spam_policy == 1 %}{% include 'user/Spamfilter.twig' %}{% endif %}
4040
{% if acl.syncjobs == 1 %}{% include 'user/Syncjobs.twig' %}{% endif %}
4141
{% if acl.app_passwds == 1 %}{% include 'user/AppPasswds.twig' %}{% endif %}
4242
{% if acl.pushover == 1 %}{% include 'user/Pushover.twig' %}{% endif %}

0 commit comments

Comments
 (0)