Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / metatag / src / Plugin / Field / FieldType / MetatagFieldItem.php
index 930fa4b49e89be614ab0f75a841cc88b4d378655..1a6726a8040839f0dcc17790bef36581b7bc6ccc 100644 (file)
@@ -50,7 +50,7 @@ class MetatagFieldItem extends FieldItemBase {
    */
   public function isEmpty() {
     $value = $this->get('value')->getValue();
-    return $value === NULL || $value === '';
+    return $value === NULL || $value === '' || $value === serialize([]);
   }
 
   /**