// Normalization
This commit is contained in:
+2
-1
@@ -646,7 +646,8 @@ class ImageCore extends ObjectModel
|
|||||||
if (!$this->id_product)
|
if (!$this->id_product)
|
||||||
return false;
|
return false;
|
||||||
$path = $this->id_product.'-'.$this->id;
|
$path = $this->id_product.'-'.$this->id;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
$path = $this->getImgPath();
|
$path = $this->getImgPath();
|
||||||
$this->createImgFolder();
|
$this->createImgFolder();
|
||||||
|
|||||||
Reference in New Issue
Block a user