X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FPlugin%2FDataType%2FItemList.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FTypedData%2FPlugin%2FDataType%2FItemList.php;h=b84643fc4fc0c703f93bda477e7f27370a70a8e4;hp=0d58b717db06b6db534f48081694a46b90317a51;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php b/web/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php index 0d58b717d..b84643fc4 100644 --- a/web/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php +++ b/web/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php @@ -87,7 +87,7 @@ class ItemList extends TypedData implements \IteratorAggregate, ListInterface { $strings[] = $item->getString(); } // Remove any empty strings resulting from empty items. - return implode(', ', array_filter($strings, '\Drupal\Component\Utility\Unicode::strlen')); + return implode(', ', array_filter($strings, 'mb_strlen')); } /**