Browse files

Bugfix caused by typo in /mnet/lib.php: This issue will have broken m…

…net for many users.
  • Loading branch information...
1 parent b1b4cdb commit f99f716464302d25da047dc988c46ff7fdae75ab donal72 committed Oct 2, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mnet/lib.php
View
2 mnet/lib.php
@@ -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;

0 comments on commit f99f716

Please sign in to comment.