Fix phpmailer compatibility with latest friendica
parent
ffe5038102
commit
320dab881b
|
@ -66,7 +66,7 @@ function phpmailer_emailer_send_prepare(App $a, array &$b)
|
|||
}
|
||||
|
||||
if (Config::get('phpmailer', 'smtp_from')) {
|
||||
$mail->setFrom(Config::get('phpmailer', 'smtp_from'), Config::get('sitename'));
|
||||
$mail->setFrom(Config::get('phpmailer', 'smtp_from'), Config::get('config', 'sitename'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue