Skip to content

Commit fb6deb0

Browse files
author
Mplus Software
committed
convertProduct voegt nu ook customFieldList toe indien afwezig.
1 parent 6291991 commit fb6deb0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Mplusqapiclient.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,6 +2084,9 @@ public function convertProduct($product)
20842084
if ( ! isset($article['imageList'])) {
20852085
$article['imageList'] = array();
20862086
}
2087+
if ( ! isset($article['customFieldList'])) {
2088+
$article['customFieldList'] = array();
2089+
}
20872090
if ( ! isset($article['imageList']['image']) and ! empty($article['imageList'])) {
20882091
$article['imageList'] = array('image' => $article['imageList']);
20892092
}

0 commit comments

Comments
 (0)