MyBB Community Forums

Full Version: is_member() should always return true for "-1"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The is_member($groups) function (inc/functions.php) should always return true if $groups is -1.
The new setting type groupselect saves the -1 value for the given field if All groups option was selected, so the function should check the groups accordingly.
BUMP.

I think this makes sense but haven't actually looked into the core if it is that simple.
Well, the request is logical and it shouldn't be too hard to implement it.

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/1545

Thanks for contributing to MyBB!

Regards,
The MyBB Group