Fixed Member controller: Expression result not used

Lukas W.

Well-known member
Affected version
2.2.8 PL 1
In \XF\Pub\Controller\Member on line 1235, the following expression result isn't assigned back to its original variable:
Code:
array_unique($extraWith);

As a result, the array isn't actually pruned of any potentially duplicate members. Shouldn't cause any problems in the core product, but I assume the code was placed there with intention behind it, so should probably be fixed at some point.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.9).

Change log:
Correctly remove duplicated relations when fetching the user entity within the Member controller
There may be a delay before changes are rolled out to the XenForo Community.
 
Top