Skip to content
Snippets Groups Projects
Commit 4cbab1cf authored by Florian Henry's avatar Florian Henry
Browse files

FIX PROPAL_MERGE_PDF with PRODUCT_USE_OLD_PATH

parent d3b3e60d
No related branches found
No related tags found
No related merge requests found
......@@ -247,7 +247,8 @@ if ($object->id)
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
......
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