- minor fixes in admin_tickets (display of name)
- fixes of undefined mailer-class if admin-mail is invalid
This commit is contained in:
@@ -414,9 +414,9 @@ if($page == '')
|
||||
/**
|
||||
* Initialize the mailingsystem
|
||||
*/
|
||||
$mail = new PHPMailer();
|
||||
if(PHPMailer::ValidateAddress($settings['panel']['adminmail']) !== false)
|
||||
{
|
||||
$mail = new PHPMailer();
|
||||
{
|
||||
// set return-to address and custom sender-name, see #76
|
||||
$mail->SetFrom($settings['panel']['adminmail'], $settings['panel']['adminmail_defname']);
|
||||
if ($settings['panel']['adminmail_return'] != '') {
|
||||
|
||||
Reference in New Issue
Block a user