Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
1415f6b7
Commit
1415f6b7
authored
Dec 20, 2008
by
Dries Buytaert
Browse files
- Patch
#330090
by j.somers: avoid duouble escaping.
parent
c43e4639
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
1415f6b7
...
...
@@ -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
));
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment