From: Marcel Werk Date: Mon, 30 Sep 2024 11:55:20 +0000 (+0200) Subject: Allow value `0` in select form fields X-Git-Tag: 6.1.0_RC_1~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c42e7548073249750584bbb3ec4e4efdc62be1b2;p=GitHub%2FWoltLab%2FWCF.git Allow value `0` in select form fields Previously, it was not possible to distinguish between value `0` and not selected (`zero`). --- diff --git a/com.woltlab.wcf/templates/shared_selectFormField.tpl b/com.woltlab.wcf/templates/shared_selectFormField.tpl index 7c966276e0..2ae1f396bb 100644 --- a/com.woltlab.wcf/templates/shared_selectFormField.tpl +++ b/com.woltlab.wcf/templates/shared_selectFormField.tpl @@ -8,7 +8,7 @@ {foreach from=$field->getNestedOptions() item=__fieldNestedOption} {/foreach}