Partial fix Error if Contact Email Address is blank

Jake B.

Well-known member
#1
In the "Email Options" If you leave the "Contact Email Address" blank you'll get this error:

ErrorException: Fatal Error: Call to a member function setReplyTo() on boolean -library/XenForo/ControllerPublic/Misc.php:215
When leaving this blank should likely disable the contact form
 

Mike

XenForo developer
Staff member
#2
I'm really only making a change here to try to prevent an error, as there isn't really any expectation for that option to be empty. If you don't want a contact page, I would have to recommend disabling the option.
 
Top