From a4d5990c2eb19dcbdebc5431fffefa995a115d0e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Feb 2026 00:49:35 +0100 Subject: [PATCH 1/2] Add full version --- htdocs/blockedlog/lib/blockedlog.lib.php | 3 +++ htdocs/core/lib/functions2.lib.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/htdocs/blockedlog/lib/blockedlog.lib.php b/htdocs/blockedlog/lib/blockedlog.lib.php index 37376d83956..37eeea94a4c 100644 --- a/htdocs/blockedlog/lib/blockedlog.lib.php +++ b/htdocs/blockedlog/lib/blockedlog.lib.php @@ -393,6 +393,9 @@ function callApiToPushCounter($id, $signature, $test, $previousid, $previoussign $data .= '&datesys='.urlencode(dol_print_date(dol_now(), 'standard', 'gmt')); $data .= '&version='.(float) DOL_VERSION; $data .= '&version_full='.urlencode(DOL_VERSION); + $data .= '&versionblockedlog='.(float) getBlockedLogVersionToShow(); + $data .= '&versionblockedlog_full='.urlencode(getBlockedLogVersionToShow()); + $data .= '&entity='.(int) $conf->entity; $data .= '&lastrowid='.(int) $id; diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index 94cb81306af..fe9d13d9b36 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -3170,6 +3170,8 @@ function printCodeForPing($constanttosavelastko, $constanttosavefirstok, $arrayo hash_unique_id: '', version: '', version_full: '', + versionblockedlog: '', + versionblockedlog_full: '', entity: 'entity; ?>', dbtype: 'type); ?>', php_version: '', From 4fb2746e6fb7a0e8c648c55a2c55df4350142e36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Feb 2026 01:02:58 +0100 Subject: [PATCH 2/2] Debug --- htdocs/blockedlog/admin/blockedlog.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/blockedlog/admin/blockedlog.php b/htdocs/blockedlog/admin/blockedlog.php index c7033d83c3a..e3919349692 100644 --- a/htdocs/blockedlog/admin/blockedlog.php +++ b/htdocs/blockedlog/admin/blockedlog.php @@ -278,10 +278,10 @@ print ''; print ' '.$langs->trans("DebugTools").'
'; print '
'; -$urlforceregistration = DOL_MAIN_URL_ROOT.'/index.php?foreregistration=1'; +$urlforceregistration = DOL_MAIN_URL_ROOT.'/index.php?forceregistration=1'; print $langs->trans("URLToForceRegistration").'
'; -print ''; -print ajax_autoselect('foreregistration'); +print ''; +print ajax_autoselect('forceregistration'); print '
';