mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 10:52:17 -05:00
Signatures array must never be empty ... if so crash during development
This commit is contained in:
parent
1b8e662769
commit
6403b041e8
@ -432,7 +432,7 @@ define(function(require) {
|
||||
* If everything is in order, returns true
|
||||
*/
|
||||
function checkSignatureValidity(signatures) {
|
||||
if (!(signatures || []).length) {
|
||||
if (!signatures.length) {
|
||||
// signatures array is empty (the message was not signed)
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user