Commit 1415f6b7 authored by Dries's avatar Dries

- Patch #330090 by j.somers: avoid duouble escaping.

parent c43e4639
......@@ -2257,7 +2257,7 @@ function user_block_user_action(&$object, $context = array()) {
}
db_query("UPDATE {users} SET status = 0 WHERE uid = %d", $uid);
drupal_session_destroy_uid($uid);
watchdog('action', 'Blocked user %name.', array('%name' => check_plain($user->name)));
watchdog('action', 'Blocked user %name.', array('%name' => $user->name));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment