Issue 0000727: create_listing_file.php n'assigne pas la miniature aux fichiers non images

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2074 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
laurent.duretz
2007-07-25 18:58:48 +00:00
parent d958a19ed5
commit cd9e784e75

View File

@@ -777,6 +777,7 @@ function pwg_scan_file($file_full, &$line)
else
{
// Here we scan a non picture file : thumbnail and high are unused, representative is optionnal
$element['tn_ext'] = pwg_get_thumbnail_ext($file_dir, $file_short, $file_ext, $log);
$ext = pwg_get_representative_ext($file_dir, $file_short);
if ($ext != '')
{