2015-06-11, 01:27 PM
The $groupperms variable is defined and used in separate, parallel if conditions which may result in passing an undefined variable to the fetch_forum_permissions() function.
defined:
https://github.com/mybb/mybb/blob/featur....php#L1315
https://github.com/mybb/mybb/blob/featur....php#L1326
used:
https://github.com/mybb/mybb/blob/featur....php#L1349
https://github.com/mybb/mybb/blob/featur....php#L1359
defined:
https://github.com/mybb/mybb/blob/featur....php#L1315
https://github.com/mybb/mybb/blob/featur....php#L1326
used:
https://github.com/mybb/mybb/blob/featur....php#L1349
https://github.com/mybb/mybb/blob/featur....php#L1359