summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2008-12-20 03:53:18 (GMT)
committerDries Buytaert2008-12-20 03:53:18 (GMT)
commit1415f6b74390ec844ccf42d281b6eddcbb11c84e (patch)
tree1708f82900c61e82304b395bca2ff6a146d1e8d3
parentc43e4639d7a841d58a2181a78c0516ad745704d4 (diff)
- Patch #330090 by j.somers: avoid duouble escaping.
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index bb4df16..99badf6 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -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));
}
/**