MDL-16560 - correct bogus function call
authorpeterbulmer <peterbulmer>
Thu, 25 Sep 2008 09:54:47 +0000 (09:54 +0000)
committerpeterbulmer <peterbulmer>
Thu, 25 Sep 2008 09:54:47 +0000 (09:54 +0000)
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

mnet/remote_client.php

index d618bf9..9a5aff4 100644 (file)
@@ -66,7 +66,7 @@ class mnet_remote_client extends mnet_peer {
             $temp = new mnet_peer();
             $temp->set_id($this->id);
             if($this->public_key != $temp->public_key) {
-                $newkey = param_clean($temp->public_key, PARAM_PEM);
+                $newkey = clean_param($temp->public_key, PARAM_PEM);
                 if(!empty($newkey)) {
                     $this->public_key = $newkey;
                     return true;