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

PM filter “sent to my default usergroup” triggers array to string conversion warning

XMLWordPrintable

      In includes/functions_privmsgs.php:

      When a user has a “If sent to my default usergroup” rule, an array to string conversion warning is triggered when check_rule is called because user_in_group is defined as an array (on line 493), but the RULE_TO_GROUP check at line 311 uses this value as a string.

      Changing the definition from an array to a string performs the equivalent operation without an implicit conversion.

            Senky Senky [X] (Inactive)
            Snover Snover [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: