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)),

CommentFileSizeAuthor
#2 user.patch595 bytesdroplet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

droplet’s picture

Title: Warning: htmlspecialchars(): Invalid multibyte sequence... at line 1476 in bootstrap.inc » user weight title big
Status: Active » Needs review
Issue tags: -htmlspecialchars

It's not a htmlspecialchars bug.

droplet’s picture

Version: 7.0 » 7.x-dev
FileSize
595 bytes
droplet’s picture

Assigned: duceng » droplet
droplet’s picture

Title: user weight title big » Fix role page weight title
Issue tags: +Quick fix
droplet’s picture

Version: 7.x-dev » 8.x-dev

fix D8 first, same patch #2

jerrydqcn’s picture

It works! finally I got rid of the messages.
Thanks!!

droplet’s picture

Status: Needs review » Reviewed & tested by the community

obviously, a simple fixes. RTBC by #7

catch’s picture

Issue tags: +Needs backport to D7
webchick’s picture

Status: Reviewed & tested by the community » Fixed

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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mefisto75’s picture

thank god, working