Permalink
Browse files

mnet MDL-19260 add an addslashes_object when updating public keys

not merged to HEAD because of new db stuff
  • Loading branch information...
1 parent 2ee0ca3 commit 77ca2c9c1d7ec8a9140d61362e9ae0be4247b137 Penny Leach committed Jan 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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));
}

0 comments on commit 77ca2c9

Please sign in to comment.