MyBB Community Forums

Full Version: Moderation Tools prefix issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Crap the subject.

Go to ACP -> Configuration -> Moderator Tools -> Add New Thread Tool
  • Name: (Empty)
  • Soft delete/restore thread?: Restore
  • Apply thread prefix?: No prefix

Click "Save Thread Tool". Proper in-line error is shown, but the value for "Apply thread prefix?" is missing.
Also, the following code in mod_tools.php seems misplaced:
			if((int)$mybb->input['threadprefix'] >= 0)
			{
				$thread_options['threadprefix'] = (int)$mybb->input['threadprefix'];
			}

Since $thread_options is no longer used after serializing the data for $new_tool['threadoptions'].
I doubt this has been fixed. And the code is still unchanged. Need to recheck later but likely this can be pushed.
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/2066

Thanks for contributing to MyBB!

Regards,
The MyBB Group