MyBB Community Forums

Full Version: xmlhttp.php warning 1.8.36
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In xmlhttp.php, an error is generated.
$editedmsg is undefined.

<error>
	<dateline>1693909830</dateline>
	<script>xmlhttp.php</script>
	<line>650</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>Undefined variable $editedmsg</message>
	<back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/xmlhttp.php:650]
</back_trace>
</error>

find line 650
		if($editedmsg)
replace with
		if(!empty($editedmsg))