mnet MDL-19260 add an addslashes_object when updating public keys

fixing typo in last commit
This commit is contained in:
Penny Leach
2010-01-13 01:48:23 +00:00
parent 77ca2c9c1d
commit a3f6b0fe7e
+1 -1
View File
@@ -169,7 +169,7 @@ class mnet_environment {
}
set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet');
update_record('mnet_host', addslashes_object($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));
}