From: Michael M Slusarz Date: Wed, 8 Sep 2010 17:53:39 +0000 (-0600) Subject: Fix undefined error X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cba527cbfe66f1f6420e76791b76f13a33dd466a;p=horde.git Fix undefined error --- 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: