mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -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
|
* If everything is in order, returns true
|
||||||
*/
|
*/
|
||||||
function checkSignatureValidity(signatures) {
|
function checkSignatureValidity(signatures) {
|
||||||
if (!(signatures || []).length) {
|
if (!signatures.length) {
|
||||||
// signatures array is empty (the message was not signed)
|
// signatures array is empty (the message was not signed)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user