Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11000

When user is deleted from his default group, his new default group is not assigned in the intended order

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 3.0.10
    • 3.1.12-RC1
    • ACP
    • None

    Description

      group_user_del() function has
      $group_order = array('ADMINISTRATORS', 'GLOBAL_MODERATORS', 'NEWLY_REGISTERED', 'REGISTERED_COPPA', 'REGISTERED', 'BOTS', 'GUESTS');
      It appears this is intended to be the search-order for assigning a new default group to the user, but this array is never used as an index into $special_groups_data.
      Therefore, $special_group_data is read in group_id order, so that order is used to select the new default group. Therefore, the user's defalt group is always Guests or RU.

      Attachments

        Activity

          People

            CHItA CHItA
            Brf Brf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: