fixed wrong thumbnails directory
This commit is contained in:
parent
6e5f3b8bdd
commit
68e42bc24e
@ -2946,7 +2946,7 @@ class Product extends CommonObject
|
|||||||
// Objet
|
// Objet
|
||||||
$obj=array();
|
$obj=array();
|
||||||
$obj['photo']=$photo;
|
$obj['photo']=$photo;
|
||||||
if ($photo_vignette && dol_is_file($dirthumb.$photo_vignette)) $obj['photo_vignette']=$dirthumb . $photo_vignette;
|
if ($photo_vignette && dol_is_file($dirthumb.$photo_vignette)) $obj['photo_vignette']='thumbs/' . $photo_vignette;
|
||||||
else $obj['photo_vignette']="";
|
else $obj['photo_vignette']="";
|
||||||
|
|
||||||
$tabobj[$nbphoto-1]=$obj;
|
$tabobj[$nbphoto-1]=$obj;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user