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

PHP warnings on attempt to create user group having name already in use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.14-RC1
    • 3.3.13
    • ACP, Group Management
    • None

      On attempting to create user group with already existing name (f.e. Guests), PHP warnings thrown:

       

      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 3715: Undefined array key "avatar"
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 3716: Undefined array key "avatar_width"
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 3717: Undefined array key "avatar_height"
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 3722: Undefined array key "avatar_type"

       

      To reproduce: ACP -> Manage groups -> Create new group (enter "Guests") -> Submit -> Submit.

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

              Created:
              Updated:
              Resolved: