[ticket/12216] Undefined index: lang_options when creating date profile field

PHPBB3-12216
Merge pull request #2058 from nickvergessen/ticket/12216

[ticket/12216] Undefined index: lang_options when creating date profile field