From: Michael M Slusarz Date: Thu, 13 May 2010 17:07:31 +0000 (-0600) Subject: Fix logic X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=955acdc61c106f98cc64fa0c6177d230ae39e333;p=horde.git Fix logic --- 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. */