From 2dc4faaff483045b6b7b5752eb7238312cbfb032 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 20 Jun 2026 16:30:50 +0200 Subject: [PATCH] CI --- htdocs/blockedlog/admin/blockedlog_archives.php | 2 ++ htdocs/blockedlog/admin/blockedlog_list.php | 2 ++ htdocs/core/modules/modBlockedLog.class.php | 2 +- .../interface_50_modAgenda_ActionsAuto.class.php | 10 ---------- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/htdocs/blockedlog/admin/blockedlog_archives.php b/htdocs/blockedlog/admin/blockedlog_archives.php index 607946991b3..d2f68eb3ae4 100644 --- a/htdocs/blockedlog/admin/blockedlog_archives.php +++ b/htdocs/blockedlog/admin/blockedlog_archives.php @@ -635,6 +635,8 @@ if ($action == 'export' && $user->hasRight('blockedlog', 'read')) { // read is $firstrecorddate = 0; global $foundoldformat, $firstrecorddate; include DOL_DOCUMENT_ROOT.'/blockedlog/admin/lifetimeamount.inc.php'; + '@phan-var-force array> $totalamountlifetime'; + '@phan-var-force array> $totalhtamountlifetime'; $countsource = 0; foreach ($showtotalfor as $source => $tmpval) { diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index 76fae330644..0e4a213ae0e 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -969,6 +969,8 @@ if (is_array($blocks)) { $firstrecorddate = 0; global $foundoldformat, $firstrecorddate; include DOL_DOCUMENT_ROOT.'/blockedlog/admin/lifetimeamount.inc.php'; + '@phan-var-force array> $totalamountlifetime'; + '@phan-var-force array> $totalhtamountlifetime'; print ''; print 'profid1 = ".$mysoc->profid1); + dol_syslog("mysoc->profid1 = ".$mysoc->idprof1); $obfuscationkey = $b->getObfuscationKey(); // Get the obfuscation key from memory or remote server. If not found, we retrieve it. //$obfuscationkey = ''; // Uncomment this to test if obfuscation key can't be retrieved. } catch (Exception $e) { diff --git a/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php b/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php index 601288cb826..a161fcd26d6 100644 --- a/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php +++ b/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php @@ -530,8 +530,6 @@ class InterfaceActionsAuto extends DolibarrTriggers } $object->sendtoid = array(); - $object->fk_element = 0; - $object->elementtype = ''; } elseif ($action == 'FICHINTER_VALIDATE' && $object instanceof Fichinter) { '@phan-var-force Fichinter $object'; // Load translation files required by the page @@ -549,8 +547,6 @@ class InterfaceActionsAuto extends DolibarrTriggers } $object->sendtoid = array(); - $object->fk_element = 0; - $object->elementtype = ''; } elseif ($action == 'FICHINTER_MODIFY' && $object instanceof Fichinter) { '@phan-var-force Fichinter $object'; // Load translation files required by the page @@ -568,8 +564,6 @@ class InterfaceActionsAuto extends DolibarrTriggers } $object->sendtoid = array(); - $object->fk_element = 0; - $object->elementtype = ''; } elseif ($action == 'FICHINTER_SENTBYMAIL' && $object instanceof Fichinter) { '@phan-var-force Fichinter $object'; // Load translation files required by the page @@ -639,8 +633,6 @@ class InterfaceActionsAuto extends DolibarrTriggers } $object->sendtoid = array(); - $object->fk_element = 0; - $object->elementtype = ''; } elseif ($action == 'FICHINTER_DELETE' && $object instanceof Fichinter) { '@phan-var-force Fichinter $object'; // Load translation files required by the page @@ -658,8 +650,6 @@ class InterfaceActionsAuto extends DolibarrTriggers } $object->sendtoid = array(); - $object->fk_element = 0; - $object->elementtype = ''; } elseif ($action == 'SHIPPING_VALIDATE' && $object instanceof Expedition) { '@phan-var-force Expedition $object'; // Load translation files required by the page