Fix undefined error
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 8 Sep 2010 17:53:39 +0000 (11:53 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 8 Sep 2010 18:58:15 +0000 (12:58 -0600)
imp/lib/Compose.php

index b68847a..65e3636 100644 (file)
@@ -1173,6 +1173,7 @@ class IMP_Compose
             !empty($GLOBALS['conf']['gnupg']['path']) &&
             in_array($encrypt, array(IMP::PGP_ENCRYPT, IMP::PGP_SIGN, IMP::PGP_SIGNENC, IMP::PGP_SYM_ENCRYPT, IMP::PGP_SYM_SIGNENC))) {
             $imp_pgp = $GLOBALS['injector']->getInstance('IMP_Crypt_Pgp');
+            $symmetric_passphrase = null;
 
             switch ($encrypt) {
             case IMP::PGP_SIGN: