![]() |
[Pushed] Group promotions bug - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Development (https://community.mybb.com/forum-161.html) +--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html) +---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html) +----- Forum: Pushed (https://community.mybb.com/forum-183.html) +----- Thread: [Pushed] Group promotions bug (/thread-207494.html) |
Group promotions bug - katos - 2017-01-17 Upon editing a group promotion for registered length, and then revisiting the group promotion then the entry that you insert changes to something else. For example, from 2 months to 2 days. In the database, the entry is "=" (see below screenshots) I have confirmed this across three sites: https://creatorswave.com/ https://forumauthority.com/ and https://www.atlasindustries.info/forum/ These sites are: 1.8.9(Creators Wave and Forum Authority) and 1.8.10(Atlas Industries) SQL code on the updating of group promotions
notice how registered type is still = while onlinetype works just fine. The registertypes that have "months" were manually adjusted through the database. While the ones with = were saved from the admincp. Even if you edit it in the database and then you make an adjustment from the admincp and save... it'll change it back to = RE: Group promotions bug - Starpaul20 - 2017-01-17 I can confirm this bug. It seems to be caused by this bit of code in the add/edit section:
Either we remove timeregisteredtype from the $operator_fields array or add the times to the $allowed_operators array. RE: Group promotions bug - Euan T - 2017-01-17 Moving this to the bug reports forum since it's confirmed, thanks for checking Starpaul ![]() RE: Group promotions bug - Euan T - 2017-01-17 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/2629 Thanks for contributing to MyBB! Regards, The MyBB Group |