X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2Fviews%2Fargument%2FStringArgument.php;fp=web%2Fcore%2Fmodules%2Fviews%2Fsrc%2FPlugin%2Fviews%2Fargument%2FStringArgument.php;h=7bde8ff5c7c8c1977b1b6abe37e2bb355a6ab84d;hp=6058d6618b6d1e9bc8a51d907b46daa18ae0d576;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/views/src/Plugin/views/argument/StringArgument.php b/web/core/modules/views/src/Plugin/views/argument/StringArgument.php index 6058d6618..7bde8ff5c 100644 --- a/web/core/modules/views/src/Plugin/views/argument/StringArgument.php +++ b/web/core/modules/views/src/Plugin/views/argument/StringArgument.php @@ -2,7 +2,6 @@ namespace Drupal\views\Plugin\views\argument; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Database\Database; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Plugin\Context\ContextDefinition; @@ -214,7 +213,7 @@ class StringArgument extends ArgumentPluginBase { // converting the arguments to lowercase. if ($this->options['case'] != 'none' && Database::getConnection()->databaseType() == 'pgsql') { foreach ($this->value as $key => $value) { - $this->value[$key] = Unicode::strtolower($value); + $this->value[$key] = mb_strtolower($value); } }