[-] 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:
@@ -1370,6 +1370,8 @@ class AdminImportControllerCore extends AdminController
|
||||
$error = false;
|
||||
if (!empty($url))
|
||||
{
|
||||
$url = str_replace(' ', '%20', $url);
|
||||
|
||||
$image = new Image();
|
||||
$image->id_product = (int)$product->id;
|
||||
$image->position = Image::getHighestPosition($product->id) + 1;
|
||||
|
||||
Reference in New Issue
Block a user