Skip to content

Commit 5d28a36

Browse files
committed
Fix wrong required field status in user search
ref #6478
1 parent 4cf61b9 commit 5d28a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.woltlab.wcf/templates/userOptionFieldList.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{foreach from=$options item=optionData}
22
{assign var=option value=$optionData[object]}
33
<dl class="{$option->optionName}Input{if $errorType|is_array && $errorType[$option->optionName]|isset} formError{/if}">
4-
<dt{if $optionData[cssClassName]} class="{$optionData[cssClassName]}"{/if}>{if $isSearchMode|empty || !$optionData[hideLabelInSearch]}<label for="{$option->optionName}">{$langPrefix|concat:$option->optionName|phrase}</label>{if $inSearchMode|empty && $option->required} <span class="customOptionRequired">*</span>{/if}{/if}</dt>
4+
<dt{if $optionData[cssClassName]} class="{$optionData[cssClassName]}"{/if}>{if $isSearchMode|empty || !$optionData[hideLabelInSearch]}<label for="{$option->optionName}">{$langPrefix|concat:$option->optionName|phrase}</label>{if $isSearchMode|empty && $option->required} <span class="customOptionRequired">*</span>{/if}{/if}</dt>
55
<dd>{@$optionData[html]}
66
<small>{lang __optional=true}{@$langPrefix}{$option->optionName}.description{/lang}</small>
77

0 commit comments

Comments
 (0)