MDL-16560 - correct bogus function call

Author: Peter Bulmer <[email protected]>
This commit is contained in:
peterbulmer
2008-09-25 10:01:54 +00:00
parent 07715b2c5e
commit dbc804de90
+1 -1
View File
@@ -61,7 +61,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;