Skip to content

Commit

Permalink
Merge branch 'imp_7_0'
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 16, 2014
2 parents a589795 + 70205ac commit 667c3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Crypt/Pgp.php
Expand Up @@ -89,7 +89,7 @@ public function generatePersonalKeys($name, $email, $passphrase,
*/
public function addPersonalPublicKey($public_key)
{
$GLOBALS['prefs']->setValue('pgp_public_key', trim(is_array($public_key) ? implode('', $public_key) : $public_key));
$GLOBALS['prefs']->setValue('pgp_public_key', trim($public_key));
}

/**
Expand All @@ -100,7 +100,7 @@ public function addPersonalPublicKey($public_key)
*/
public function addPersonalPrivateKey($private_key)
{
$GLOBALS['prefs']->setValue('pgp_private_key', trim(is_array($private_key) ? implode('', $private_key) : $private_key));
$GLOBALS['prefs']->setValue('pgp_private_key', trim($private_key));
}

/**
Expand Down

0 comments on commit 667c3a1

Please sign in to comment.