MDL-13063 fixed comments and changeme password reset; fixed prev commit

This commit is contained in:
skodak
2008-01-19 20:04:23 +00:00
parent 6c9aa9b38b
commit a746e49818
-2
View File
@@ -7825,5 +7825,3 @@ function object_array_unique($array, $keep_key_assoc = true) {
// vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140:
?>
if (!set_field('user_preferences', 'value', addslashes((string)$value), 'id', $preference->id)) {
$preference->value = addslashes((string)$value);