From: Michael M Slusarz Date: Wed, 3 Dec 2008 03:44:52 +0000 (-0700) Subject: This param is optional. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e0dc39848a4a5ba361243d44ce8143d11d4d4842;p=horde.git This param is optional. --- 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';