From 7e49cc12d358e249fd5d22c8a7927f3a45e36add Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Jun 2026 04:10:41 +0200 Subject: [PATCH] CI --- htdocs/blockedlog/admin/blockedlog.php | 1 + htdocs/blockedlog/class/blockedlog.class.php | 1 + 2 files changed, 2 insertions(+) diff --git a/htdocs/blockedlog/admin/blockedlog.php b/htdocs/blockedlog/admin/blockedlog.php index 62a4882d4da..4b79d816843 100644 --- a/htdocs/blockedlog/admin/blockedlog.php +++ b/htdocs/blockedlog/admin/blockedlog.php @@ -342,6 +342,7 @@ if (GETPOST('forcegetkeyobfuscation')) { print '
'.$e->getMessage().'
'; } + $obfuscationkey = ''; try { $obfuscationkey = $block_static->getObfuscationKey(); // Note: use the $mysoc->idprof1 and $registrationnumber. On network trouble, an Exception is thrown to the caller print "\n\n"; diff --git a/htdocs/blockedlog/class/blockedlog.class.php b/htdocs/blockedlog/class/blockedlog.class.php index c33391093a1..5424e2c3d44 100644 --- a/htdocs/blockedlog/class/blockedlog.class.php +++ b/htdocs/blockedlog/class/blockedlog.class.php @@ -1604,6 +1604,7 @@ class BlockedLog // Get the obfuscation key from ping.dolibarr.org (used just after to decode HMAC secret key) $errormsg = ''; + $obfuscationkey = ''; try { $obfuscationkey = $this->getObfuscationKey(); // Get obfuscation key providing $mysoc->idprof1 and $registrationnumber. Note: On network trouble, an Exception is thrown to the caller } catch (Exception $e) {