This param is optional.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 3 Dec 2008 03:44:52 +0000 (20:44 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 3 Dec 2008 03:44:52 +0000 (20:44 -0700)
imp/lib/Crypt/pgp.php

index 30afb6b..b368e5e 100644 (file)
@@ -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';