Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / Plugin / DataType / ItemList.php
index 0d58b717db06b6db534f48081694a46b90317a51..b84643fc4fc0c703f93bda477e7f27370a70a8e4 100644 (file)
@@ -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'));
   }
 
   /**