MyBB Community Forums

Full Version: [F] mistake in /inc/class_mailhandler.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
// 1.4.0
function set_subject($subject)
{
	$this->subject = $this->cleanup($subject);
}

// 1.4.1
function set_subject($subject)
{
	$this->subject = $this->cleanup($subject);
	$this->subject = $this->utf8_encode($subject);
}

As you can see, the cleanup() call is rendered useless because the line below doesn't use its return value.
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.