Skip to content

Commit

Permalink
Fix product image import PrestaShop#2
Browse files Browse the repository at this point in the history
Update my last fix (forget to use "$this->multiple_value_separator" for the separator)
  • Loading branch information
Tokyx committed Jun 29, 2015
1 parent 4764c2f commit ccd3e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ public function productImport()
$product->deleteImages();

//parse into an array
$product->image=explode(',',$product->image);
$product->image=explode($this->multiple_value_separator,$product->image);

if (isset($product->image) && is_array($product->image) && count($product->image))
{
Expand Down

0 comments on commit ccd3e55

Please sign in to comment.