On évite un possible bug

This commit is contained in:
Jean-Marie Favreau 2024-12-13 05:44:32 +01:00
parent 1055a36084
commit 6589c1b0c3

View File

@ -609,7 +609,7 @@ class MergeDuplicates(Form):
result += '<input id="' + id + '" name="' + key + '"'
if key in MergeDuplicates.checkboxes_fields:
result += ' type="checkbox"'
if value in checked:
if checked and value in checked:
result += " checked"
else:
result += ' type="radio"'