Fix missing folder with multientity
This commit is contained in:
parent
cad7bdc74b
commit
2094c48b7f
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user