Skip to content

Commit

Permalink
Minor BugFix : Missing thumbs folder in Category Images List
Browse files Browse the repository at this point in the history
Sub-folder for thumbs was missing in category image list, url was wrong....
  • Loading branch information
BadPixxel committed Sep 30, 2014
1 parent cf2ba78 commit d6c8f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/categories/class/categorie.class.php
Expand Up @@ -1369,7 +1369,7 @@ function liste_photos($dir,$nbmax=0)
// Objet
$obj=array();
$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']="";

$tabobj[$nbphoto-1]=$obj;
Expand Down

0 comments on commit d6c8f65

Please sign in to comment.