Skip to content

Commit

Permalink
Bugfix caused by typo in /mnet/lib.php: This issue will have broken m…
Browse files Browse the repository at this point in the history
…net for many users.
  • Loading branch information
donal72 committed Oct 2, 2007
1 parent b1b4cdb commit f99f716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/lib.php
Expand Up @@ -246,7 +246,7 @@ function mnet_get_keypair() {
static $keypair = null;
if (!is_null($keypair)) return $keypair;
if ($result = get_field('config_plugins', 'value', 'plugin', 'mnet', 'name', 'openssl')) {
$keypair = explode('@@@@@@@@', $keypair);
$keypair = explode('@@@@@@@@', $result);
$keypair['privatekey'] = openssl_pkey_get_private($keypair['keypair_PEM']);
$keypair['publickey'] = openssl_pkey_get_public($keypair['certificate']);
return $keypair;
Expand Down

0 comments on commit f99f716

Please sign in to comment.