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:
Penny Leach
2010-01-13 01:43:24 +00:00
parent 2ee0ca3438
commit 77ca2c9c1d
+1 -1
View File
@@ -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));
}