diff --git a/htdocs/core/js/lib_foot.js.php b/htdocs/core/js/lib_foot.js.php index 26a0e7756a9..297a33b93f5 100644 --- a/htdocs/core/js/lib_foot.js.php +++ b/htdocs/core/js/lib_foot.js.php @@ -86,7 +86,7 @@ if (empty($conf->dol_no_mouse_hover)) { open: function (event, ui) { var elem = $(this); var params = JSON.parse($(this).attr("data-params")); - objparams.token = "'.currentToken().'"; + params.token = "'.currentToken().'"; $.ajax({ url:"' . dol_buildpath('/core/ajax/ajaxtooltip.php', 1) . '", type: "post",