diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp
index 3ea18a717..2e77b091b 100644
--- a/code/nel/src/gui/group_html.cpp
+++ b/code/nel/src/gui/group_html.cpp
@@ -2444,6 +2444,7 @@ namespace NLGUI
}
break;
case HTML_OPTION:
+ if (!(_Forms.empty()) && !(_Forms.back().Entries.empty()))
{
// insert the parsed text into the select control
CDBGroupComboBox *cb = _Forms.back().Entries.back().ComboBox;