From a5f39e996df459cbbf0dcc2a0b5f38589ac670bf Mon Sep 17 00:00:00 2001 From: Norbert Penel Date: Tue, 7 Apr 2020 09:27:55 +0200 Subject: [PATCH] FIX : twice call in a page fix to let this function be used twice in a page --- htdocs/core/class/html.form.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 8e30c65b409..fc845dee245 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -7779,10 +7779,11 @@ class Form global $conf, $langs; $out = ''; - if (!empty($conf->use_javascript_ajax)) $out .= '
'; + $id=uniqid(); + if (!empty($conf->use_javascript_ajax)) $out .= '
'; $out .= '