From 8c9f2b8458191889f799ae903916fd7075316524 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 10 Sep 2020 17:08:51 +0200 Subject: [PATCH] Fix trans, add log --- htdocs/core/lib/files.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/lib/files.lib.php b/htdocs/core/lib/files.lib.php index 50550e3feb6..708bb9d7987 100644 --- a/htdocs/core/lib/files.lib.php +++ b/htdocs/core/lib/files.lib.php @@ -1170,6 +1170,7 @@ function dol_delete_file($file, $disableglob = 0, $nophperrors = 0, $nohook = 0, if (empty($nohook) && $reshook != 0) // reshook = 0 to do standard actions, 1 = ok and replace, -1 = ko { + dol_syslog("reshook=".$reshook); if ($reshook < 0) return false; return true; } else {