From 6d48c9f36f9268ef4fec9c48c385db150613fa1f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Jan 2026 18:24:21 +0100 Subject: [PATCH] Fix CI --- htdocs/blockedlog/class/blockedlog.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/blockedlog/class/blockedlog.class.php b/htdocs/blockedlog/class/blockedlog.class.php index 0829de6938f..005d9de5a4b 100644 --- a/htdocs/blockedlog/class/blockedlog.class.php +++ b/htdocs/blockedlog/class/blockedlog.class.php @@ -1331,7 +1331,6 @@ class BlockedLog // Code here is similar to the one into printCodeForPing() $url_for_ping = getDolGlobalString('MAIN_URL_FOR_PING', "https://ping.dolibarr.org/"); - include_once DOL_DOCUMENT_ROOT.'/core/lib/security.lib.php'; $hash_unique_id = dol_hash('dolibarr'.$conf->file->instance_unique_id, 'sha256'); // Note: if the global salt changes, this hash changes too so ping may be counted twice. We don't mind. It is for statistics and inventory purpose only. $data = 'action=dolibarrtrack'; @@ -1558,7 +1557,7 @@ class BlockedLog $previoussignature = $this->getOrInitFirstSignature(); } - return array('previousid' => $previousid, 'previoussignature' => $previoussignature); + return array('previousid' => $previousid, 'previoushash' => $previoussignature); } /**