mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
Make sure whitespaces are removed from certkey before doing comparison
This commit is contained in:
parent
89ba6df80b
commit
a371eb7b10
@ -7528,7 +7528,7 @@ class Mail
|
||||
}
|
||||
|
||||
$AB_bo = new \addressbook_bo();
|
||||
$certkey = $AB_bo->get_smime_keys($cert->email);
|
||||
$certkey = trim($AB_bo->get_smime_keys($cert->email));
|
||||
if (!is_array($certkey) || strcasecmp($certkey[$cert->email], $cert->cert) != 0) $metadata['addtocontact'] = true;
|
||||
}
|
||||
else // only encrypted message
|
||||
|
Loading…
Reference in New Issue
Block a user