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
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz