MyBB Community Forums

Full Version: [F] [Typo] class_moderation.php (1.4.?) [R] [C-StefanT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
		$arguments = array("mergetid" => $tid, "tid" => $tid, "subject" => $subject);
		$plugins->run_hooks("class_moderation_merge_threads", $arguments);

Should be (mind $mergetid )

		$arguments = array("mergetid" => $mergetid, "tid" => $tid, "subject" => $subject);
		$plugins->run_hooks("class_moderation_merge_threads", $arguments);
I use thread merging so I hope this gets a response asap.
This would only affect the plugin hook class_moderation_merge_threads and the argument passed to it.
Lex- is correct.

This:

		$arguments = array("mergetid" => $tid, "tid" => $tid, "subject" => $subject);

Should be this:

		$arguments = array("mergetid" => $mergetid, "tid" => $tid, "subject" => $subject);
The fix looks correct
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
seems correct to me.
ok can you explain in ACP where to find this and replace this, thanks
You can find the file in the ./inc/ folder:

./inc/class_moderation.php
thanks it was exactly online 1029 its now fixxed, thanks
Pages: 1 2