From cba527cbfe66f1f6420e76791b76f13a33dd466a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 8 Sep 2010 11:53:39 -0600 Subject: [PATCH] Fix undefined error --- imp/lib/Compose.php | 1 + 1 file changed, 1 insertion(+) diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index b68847a64..65e3636d0 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -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: -- 2.11.0