Skip to content
Snippets Groups Projects
Commit f9883861 authored by Cédric Salvador's avatar Cédric Salvador
Browse files

Do not forget the thumbs directory when returning the images paths

parent a1e0d84e
No related branches found
No related tags found
No related merge requests found
......@@ -2946,7 +2946,7 @@ class Product extends CommonObject
// Objet
$obj=array();
$obj['photo']=$photo;
if ($photo_vignette && dol_is_file($dirthumb.$photo_vignette)) $obj['photo_vignette']=$photo_vignette;
if ($photo_vignette && dol_is_file($dirthumb.$photo_vignette)) $obj['photo_vignette']=$dirthumb . $photo_vignette;
else $obj['photo_vignette']="";
$tabobj[$nbphoto-1]=$obj;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment