-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2.7
-
Fix Version/s: 3.2.8-RC1
-
Component/s: Private Messages (PM)
-
Labels:None
-
GitHub Pull Request URL:
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.