Browse Source

bugfix

pull/60/head v1.4.11
Aaron Parecki 6 years ago
parent
commit
c67dd9088d
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/XRay/Formats/Mf2.php

+ 2
- 0
lib/XRay/Formats/Mf2.php View File

@ -511,6 +511,7 @@ class Mf2 extends Format {
$data = [ $data = [
'type' => 'product' 'type' => 'product'
]; ];
$refs = [];
self::collectSingleValues(['name','identifier','price'], ['url'], $item, $url, $data); self::collectSingleValues(['name','identifier','price'], ['url'], $item, $url, $data);
@ -538,6 +539,7 @@ class Mf2 extends Format {
$data = [ $data = [
'type' => 'item' 'type' => 'item'
]; ];
$refs = [];
self::collectSingleValues(['name'], ['url'], $item, $url, $data); self::collectSingleValues(['name'], ['url'], $item, $url, $data);

Loading…
Cancel
Save