[Pushed] $groupperms not always set in forum_permissions()
#1
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
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#2
There are thousands of cases like this Wink Especially n functions.php
Support PMs will be ignored!
Reply
#3
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/2123

Thanks for contributing to MyBB!

Regards,
The MyBB Group
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)