1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/16553] Fix approve reported posts bug

Fixes the module not accessible error when trying to approve a reported post.

PHPBB3-16553
This commit is contained in:
battye
2024-05-27 05:18:08 +00:00
parent 477f5d9e1d
commit 558b8ae7ed
3 changed files with 5 additions and 0 deletions

View File

@@ -78,6 +78,7 @@
<p class="author"><span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{MINI_POST_IMG}</span></span> {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} &raquo; {POST_DATE}</p>
<!-- ENDIF -->
{% if S_CAN_APPROVE %}
<!-- IF S_POST_UNAPPROVED -->
<form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}">
@@ -101,6 +102,7 @@
</p>
</form>
<!-- ENDIF -->
{% endif %}
{% if S_POST_REPORTED and not S_MCP_REPORT %}
<p class="post-notice reported">