X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FController%2FEntityAutocompleteController.php;h=88c367f2822a2c03a53db0cfc69a4423859b19cb;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=974c2ded3374363bc5983877ee48af9a3e9b4449;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/system/src/Controller/EntityAutocompleteController.php b/web/core/modules/system/src/Controller/EntityAutocompleteController.php index 974c2ded3..88c367f28 100644 --- a/web/core/modules/system/src/Controller/EntityAutocompleteController.php +++ b/web/core/modules/system/src/Controller/EntityAutocompleteController.php @@ -4,7 +4,6 @@ namespace Drupal\system\Controller; use Drupal\Component\Utility\Crypt; use Drupal\Component\Utility\Tags; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Entity\EntityAutocompleteMatcher; use Drupal\Core\KeyValueStore\KeyValueStoreInterface; @@ -81,7 +80,7 @@ class EntityAutocompleteController extends ControllerBase { // Get the typed string from the URL, if it exists. if ($input = $request->query->get('q')) { $typed_string = Tags::explode($input); - $typed_string = Unicode::strtolower(array_pop($typed_string)); + $typed_string = mb_strtolower(array_pop($typed_string)); // Selection settings are passed in as a hashed key of a serialized array // stored in the key/value store.