Bug #9022: This variable is a boolean.
authorRui Carneiro <rui.carneiro@portugalmail.net>
Wed, 12 May 2010 16:23:38 +0000 (17:23 +0100)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 13 May 2010 04:42:28 +0000 (22:42 -0600)
Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
imp/templates/dimp/chunks/compose.php

index 9c50b7c..53da207 100644 (file)
@@ -77,7 +77,7 @@ $compose_disable = !IMP::canCompose();
     <input id="priority" name="priority" type="hidden" value="normal" />
    </div>
 <?php endif; ?>
-<?php if (!is_null($encrypt_list)): ?>
+<?php if ($encrypt_list): ?>
    <div>
     <?php echo _("Encryption:") ?> <span id="encrypt_label"></span>
     <input id="encrypt" name="encrypt" type="hidden" value="<?php echo IMP::ENCRYPT_NONE ?>" />