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 '
';
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: '',