1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12904] Do not display info about required fields without any

PHPBB3-12904
This commit is contained in:
Marc Alexander
2023-10-01 21:20:00 +02:00
parent 42bf5778d5
commit 6fac65d193
2 changed files with 10 additions and 6 deletions

View File

@@ -67,8 +67,7 @@
<!-- INCLUDE timezone_option.html -->
<!-- EVENT ucp_register_profile_fields_before -->
<!-- IF .profile_fields -->
<dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>
{% if PROFILE_FIELDS_REQUIRED %}<dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>{% endif %}
<!-- BEGIN profile_fields -->
<dl>
@@ -78,7 +77,6 @@
<dd>{profile_fields.FIELD}</dd>
</dl>
<!-- END profile_fields -->
<!-- ENDIF -->
<!-- EVENT ucp_register_profile_fields_after -->
</fieldset>