diff --git a/mnet/environment.php b/mnet/environment.php index 6c1c54079e517..e9124ed9cc6d6 100644 --- a/mnet/environment.php +++ b/mnet/environment.php @@ -169,7 +169,7 @@ function replace_keys() { } 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)); }