From: Michael M Slusarz Date: Wed, 19 Nov 2008 03:54:46 +0000 (-0700) Subject: nits X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=35a1b84d5061b158e2ee92b9a273e30c57b40ea5;p=horde.git nits --- diff --git a/imp/lib/Crypt/pgp.php b/imp/lib/Crypt/pgp.php index 97118453d..ef8eef414 100644 --- a/imp/lib/Crypt/pgp.php +++ b/imp/lib/Crypt/pgp.php @@ -333,10 +333,10 @@ class IMP_Horde_Crypt_pgp extends Horde_Crypt_pgp return $public_key; } - if (!empty($signature)) { - $options = array('type' => 'detached-signature', 'signature' => $signature); - } else { + if (empty($signature)) { $options = array('type' => 'signature'); + } else { + $options = array('type' => 'detached-signature', 'signature' => $signature); } $options['pubkey'] = $public_key;