Debug v23

This commit is contained in:
Laurent Destailleur 2026-02-16 02:03:38 +01:00
parent 160f061326
commit 75a54088fc

View file

@ -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;