Posted by duceng on February 15, 2011 at 8:30am
7 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | user.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | droplet |
| Status: | closed (fixed) |
| Issue tags: | needs backport to D7, Quick fix |
Issue Summary
When module Locale and other language is enable ...
at: http://xxx/admin/people/permissions/roles
Warning: htmlspecialchars(): Invalid multibyte sequence in argument 在 check_plain() (行 1476 在 XXX/includes/bootstrap.inc).
./modules/user/user.admin.inc: line 840
--'#title' => t('Weight for @title', array('@title' => $name['label'])),
++'#title' => t('Weight for @title', array('@title' => $name)),
Comments
#1
It's not a htmlspecialchars bug.
#2
#3
#4
#6
fix D8 first, same patch #2
#7
It works! finally I got rid of the messages.
Thanks!!
#8
obviously, a simple fixes. RTBC by #7
#9
#10
Weird. I can't possibly imagine how the code that's there now could be working.
Normally I'd ask for a test, but we're unlikely to ever break this again.
Committed and pushed to 8.x and 7.x. Thanks.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.
#12
thank god, working