diff --git a/lib/XRay/Formats/Mf2.php b/lib/XRay/Formats/Mf2.php index 636bdc8..e0d3e4c 100644 --- a/lib/XRay/Formats/Mf2.php +++ b/lib/XRay/Formats/Mf2.php @@ -511,6 +511,7 @@ class Mf2 extends Format { $data = [ 'type' => 'product' ]; + $refs = []; self::collectSingleValues(['name','identifier','price'], ['url'], $item, $url, $data); @@ -538,6 +539,7 @@ class Mf2 extends Format { $data = [ 'type' => 'item' ]; + $refs = []; self::collectSingleValues(['name'], ['url'], $item, $url, $data);