Minor BugFix : Missing thumbs folder in Category Images List
Sub-folder for thumbs was missing in category image list, url was wrong....
This commit is contained in:
parent
cf2ba78fc1
commit
d6c8f65dad
@ -1369,7 +1369,7 @@ class Categorie extends CommonObject
|
|||||||
// Objet
|
// Objet
|
||||||
$obj=array();
|
$obj=array();
|
||||||
$obj['photo']=$photo;
|
$obj['photo']=$photo;
|
||||||
if ($photo_vignette && is_file($dirthumb.$photo_vignette)) $obj['photo_vignette']=$photo_vignette;
|
if ($photo_vignette && 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