From e0dc39848a4a5ba361243d44ce8143d11d4d4842 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 2 Dec 2008 20:44:52 -0700 Subject: [PATCH] This param is optional. --- imp/lib/Crypt/pgp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Crypt/pgp.php b/imp/lib/Crypt/pgp.php index 30afb6b01..b368e5e94 100644 --- a/imp/lib/Crypt/pgp.php +++ b/imp/lib/Crypt/pgp.php @@ -373,7 +373,7 @@ class IMP_Horde_Crypt_pgp extends Horde_Crypt_pgp * * @return mixed The passphrase, if set, or null. */ - public function getPassphrase($type, $id) + public function getPassphrase($type, $id = null) { if ($type == 'personal') { $id = 'personal'; -- 2.11.0