Forgot password fails when no "From email" is set
When the from email is blank in email configuration the forgot password function fails with a no outgoing server configured error.
Entering a from email resolves the issue. Looking at the code in forgotpassword.php it seems like it should handle that scenario but doesn't.
I've tried hardcoding the following:
$from = $adb->query_result($result,0,'email@domain.com');
OR
if($from == '') {$from =$adb->query_result($result,0,'email@domain.com'); }
Neither change resolves the problem.