MDL-16560 - correct bogus function call

Author: Peter Bulmer <[email protected]>
This commit is contained in:
peterbulmer
2008-09-25 09:54:47 +00:00
parent 90507d7ec4
commit 3394a57675
+1 -1
View 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;