Debug v23
This commit is contained in:
parent
160f061326
commit
75a54088fc
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ if ($action == 'confirm_deletefile' && $confirm == 'yes' && !empty($permissionto
|
|||
$langs->load("errors"); // lang must be loaded because we can't rely on loading during output, we need var substitution to be done now.
|
||||
setEventMessages($langs->trans("ErrorFilenameCantStartWithDot", $filenameto), null, 'errors');
|
||||
} elseif (!file_exists($destpath)) {
|
||||
$result = dol_move($srcpath, $destpath, '0', 1, 0, 1, [], $object->entity ?? 0);
|
||||
$result = dol_move($srcpath, $destpath, '0', 1, 0, 1, [], $object->entity ?? $conf->entity);
|
||||
if ($result) {
|
||||
// Define if we have to generate thumbs or not
|
||||
$generatethumbs = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue