From 35a1b84d5061b158e2ee92b9a273e30c57b40ea5 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 18 Nov 2008 20:54:46 -0700 Subject: [PATCH] nits --- imp/lib/Crypt/pgp.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.11.0