Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16407

S_MESSAGE_REPORTED and L_MESSAGE_REPORTED aren't defined anywhere

XMLWordPrintable

      In the mcp_post.html template file, there is that code

      <!-- IF S_MESSAGE_REPORTED --> <!-- IF S_MESSAGE_REPORTED --> <p class="post-notice reported"> <i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span> <a href="{U_MCP_REPORT}"><strong>{L_MESSAGE_REPORTED}</strong></a> </p> <!-- ENDIF -->
      

      However, the S_MESSAGE_REPORTED variable and the MESSAGE_REPORTED language string don't exist in any PHP file.

      S_POST_REPORTED and L_POST_REPORTED should be used instead.
       
      I suggest to replace that code by the following...

      <!-- IF S_POST_REPORTED and not S_MCP_REPORT --> <!-- IF S_POST_REPORTED and not S_MCP_REPORT --> <p class="post-notice reported"> <i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span> <a href="{U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a> </p> <!-- ENDIF -->

       

            Marc Marc
            Big Monstro Big Monstro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: