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

Selected merge target no title displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.6
    • 3.0.5
    • None
    • PHP Environment: PHP 5.2.8
      Database: Sqlite 2.8.17

      When a typical user (registered users) with merge mcp permission alone or without split permission. When he / she select a topic as merge target. No title will be displayed on the selected title section.

      This also apply to phpBB 3.0.6-rc1

      Index: mcp_topic.php
      ===================================================================
      --- mcp_topic.php       (revision 4)
      +++ mcp_topic.php       (working copy)
      @@ -259,7 +259,7 @@
              // Display topic icons for split topic
              $s_topic_icons = false;
       
      -       if ($auth->acl_get('m_split', $topic_info['forum_id']))
      +       if ($auth->acl_gets('m_split', 'm_merge', $topic_info['forum_id']))
              {
                      include_once($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
                      $s_topic_icons = posting_gen_topic_icons('', $icon_id);

            Acyd Burn Meik Sievertsen [X] (Inactive)
            blueray2048 blueray2048 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: