mnet MDL-19260 add an addslashes_object when updating public keys
not merged to HEAD because of new db stuff
This commit is contained in:
@@ -169,7 +169,7 @@ class mnet_environment {
|
||||
}
|
||||
set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet');
|
||||
|
||||
update_record('mnet_host', $this);
|
||||
update_record('mnet_host', addslashes_object($this);
|
||||
error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user