Fix php warning when there's no s/mime recipientsCerts

This commit is contained in:
Hadi Nategh 2018-12-18 14:27:25 +01:00
parent 1b33419bfe
commit 376be571ba

View File

@ -1175,7 +1175,7 @@ class Mailer extends Horde_Mime_Mail
$encrypt_params = array( $encrypt_params = array(
'type' => 'message', 'type' => 'message',
'pubkey' => array_merge( 'pubkey' => array_merge(
$params['recipientsCerts'], (array)$params['recipientsCerts'],
array($this->account->acc_smime_username => $params['senderPubKey']) array($this->account->acc_smime_username => $params['senderPubKey'])
) )
); );