[-] BO : fix #PSCFV-4344
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17601 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
63ae5ba573
commit
a91e7c4264
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