Fix missing folder with multientity

This commit is contained in:
atm-ph 2018-03-21 12:14:04 +01:00
parent cad7bdc74b
commit 2094c48b7f

View File

@ -886,6 +886,7 @@ if (empty($reshook))
$files = dol_dir_list($old_filedir);
if (!empty($files))
{
if (!is_dir($new_filedir)) dol_mkdir($new_filedir);
foreach ($files as $file)
{
dol_move($file['fullname'], $new_filedir.'/'.$file['name']);