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

functions_convert fails to set global moderators default group

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.3-RC1
    • None
    • None

    Description

      In functions_convert.php at line 2150, the query to get the user ids of the global moderators is not executed.

      fix_empty_primary_groups()

      $sql = 'SELECT user_id FROM ' . USER_GROUP_TABLE . ' WHERE group_id = ' . get_group_id('global_moderators');
      // Missing: $result = $db->sql_query($sql);
       
      $user_ids = array();
      while ($row = $db->sql_fetchrow($result))
      {
      	$user_ids[] = $row['user_id'];
      }
      $db->sql_freeresult($result);
      

      Attachments

        Activity

          People

            Marc Marc
            M.Gaetan89 M.Gaetan89 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: