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)),
Comment | File | Size | Author |
---|---|---|---|
#2 | user.patch | 595 bytes | droplet |
Comments
Comment #1
droplet CreditAttribution: droplet commentedIt's not a htmlspecialchars bug.
Comment #2
droplet CreditAttribution: droplet commentedComment #3
droplet CreditAttribution: droplet commentedComment #4
droplet CreditAttribution: droplet commentedComment #6
droplet CreditAttribution: droplet commentedfix D8 first, same patch #2
Comment #7
jerrydqcn CreditAttribution: jerrydqcn commentedIt works! finally I got rid of the messages.
Thanks!!
Comment #8
droplet CreditAttribution: droplet commentedobviously, a simple fixes. RTBC by #7
Comment #9
catchComment #10
webchickWeird. 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.
Comment #12
mefisto75 CreditAttribution: mefisto75 commentedthank god, working