From 955acdc61c106f98cc64fa0c6177d230ae39e333 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 13 May 2010 11:07:31 -0600 Subject: [PATCH] Fix logic --- imp/templates/dimp/chunks/compose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/templates/dimp/chunks/compose.php b/imp/templates/dimp/chunks/compose.php index 53da20799..d56be8db0 100644 --- a/imp/templates/dimp/chunks/compose.php +++ b/imp/templates/dimp/chunks/compose.php @@ -13,7 +13,7 @@ */ $d_read = $GLOBALS['prefs']->getValue('disposition_request_read'); -$encrypt_list = (($GLOBALS['prefs']->isLocked('default_encrypt')) && ($GLOBALS['prefs']->getValue('use_pgp') || $GLOBALS['prefs']->getValue('use_smime'))); +$encrypt_list = (!$GLOBALS['prefs']->isLocked('default_encrypt') && ($GLOBALS['prefs']->getValue('use_pgp') || $GLOBALS['prefs']->getValue('use_smime'))); $save_attach = $GLOBALS['prefs']->getValue('save_attachments'); /* Determine if compose mode is disabled. */ -- 2.11.0