[-] BO : fix #PSCFV-4344
This commit is contained in:
1 parent
819ad5d04d
commit
bb94210ab4
1 file changed
+2
@@ -1370,6 +1370,8 @@ class AdminImportControllerCore extends AdminController
|
|||||||
$error = false;
|
$error = false;
|
||||||
if (!empty($url))
|
if (!empty($url))
|
||||||
{
|
{
|
||||||
|
$url = str_replace(' ', '%20', $url);
|
||||||
|
|
||||||
$image = new Image();
|
$image = new Image();
|
||||||
$image->id_product = (int)$product->id;
|
$image->id_product = (int)$product->id;
|
||||||
$image->position = Image::getHighestPosition($product->id) + 1;
|
$image->position = Image::getHighestPosition($product->id) + 1;
|
||||||
|
|||||||
Reference in new issue
Block a user