Fix logic
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 13 May 2010 17:07:31 +0000 (11:07 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 13 May 2010 17:08:10 +0000 (11:08 -0600)
imp/templates/dimp/chunks/compose.php

index 53da207..d56be8d 100644 (file)
@@ -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. */