[feature/bbcode-icon-name] Reduce font icon input to 50 chars

PHPBB3-17326
This commit is contained in:
Daniel James 2024-06-09 15:53:24 +01:00
parent 3b48879092
commit be2ea4fa80

View file

@ -245,7 +245,7 @@ class acp_bbcodes
trigger_error($user->lang['BBCODE_HELPLINE_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING);
}
if (strlen($bbcode_font_icon) > 255)
if (strlen($bbcode_font_icon) > 50)
{
trigger_error($user->lang['BBCODE_FONT_ICON_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING);
}