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

Topics list splitted in case "announce" topic moved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.1
    • 3.0.0
    • Viewing forums
    • None
    • PHP Environment:
      Database:

      If you move a topic promoted to an "Announce", the list of topics in the forum whose moved topic is originated is split in 2 parts just after the row the topic should have been if not put in announce.

      In the attached screen shot, the "test 8" topic has been moved to another forum, and promoted to "announce".

      (maybe this can be solved when going through the shadow topics, if a topic (the original one) is found "Announce", to add it to the announcement_list and remove it from the normal opic_list)

      =>in viewforum.php,
      AFTER
      $rowset[$orig_topic_id] = $row;
      ADD
      // if target topic is announce, add it to announcement_list and not to rowset
      if (($row['topic_type'] == POST_GLOBAL) || ($row['topic_type'] == POST_ANNOUNCE))

      { unset($topic_list[array_search($orig_topic_id, $topic_list)]); $announcement_list[] = $orig_topic_id; }

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

              Created:
              Updated:
              Resolved: