Skip to content

Commit

Permalink
mnet MDL-19260 add an addslashes_object when updating public keys
Browse files Browse the repository at this point in the history
not merged to HEAD because of new db stuff
  • Loading branch information
Penny Leach committed Jan 13, 2010
1 parent 2ee0ca3 commit 77ca2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnet/environment.php
Expand Up @@ -169,7 +169,7 @@ function replace_keys() {
} }
set_config('openssl', implode('@@@@@@@@', $this->keypair), 'mnet'); 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)); error_log('New public key has been generated. It expires ' . date('Y/m/d h:i:s', $this->public_key_expires));
} }


Expand Down

0 comments on commit 77ca2c9

Please sign in to comment.