Skip to content

Commit

Permalink
FIX PROPAL_MERGE_PDF with PRODUCT_USE_OLD_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed May 12, 2016
1 parent d3b3e60 commit 4cbab1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/product/document.php
Expand Up @@ -247,7 +247,8 @@

if (! empty($conf->global->PRODUCT_USE_OLD_PATH_FOR_PHOTO)) // For backward compatiblity, we scan also old dirs
{
$filearray = dol_dir_list($upload_dirold, "files", 0, '', '\.meta$', 'name', SORT_ASC, 1);

$filearray = array_merge($filearray,dol_dir_list($upload_dirold, "files", 0, '', '\.meta$', 'name', SORT_ASC, 1));
}

// For each file build select list with PDF extention
Expand Down

0 comments on commit 4cbab1c

Please sign in to comment.