Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 812 forks source link

Duplicate ID breaks label/input link on "new ban" page #9635

Closed fisharebest closed 7 months ago

fisharebest commented 7 months ago

Describe the bug

On the "new ban" page, there are 5 checkboxes. The last two both have the same ID - ban-delposts. The second one should presumably be something like ban-delpostsperm.

To Reproduce

On the "new ban" page, click either label "Delete all posts" or "Delete all posts permanently". Both cause the same checkbox to be toggled.

Expected behavior

Clicking on the label "Delete all posts permanently" should toggle the corresponding checkbox.

Actual result

Clicking on the label "Delete all posts permanently" toggles the wrong checkbox.

Screenshots

Screenshot 2024-02-28 at 20 41 07
github-actions[bot] commented 7 months ago

Thank you for the report, we will looking soon at the issue