diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/widgetgenerator.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index 57be1f2..9647b9b 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -178,7 +178,8 @@ static std::string send_macro_widget(Macro ¯o, static void get_fields(Widget &widget, Fieldnames &fields) { - if(widget.attributes.find("value") != widget.attributes.end()) { + // if(widget.attributes.find("value") != widget.attributes.end()) { + if(widget.attributes.find("name") != widget.attributes.end()) { if(widget.attributes["name"] != "") fields.push_back(widget.attributes["name"]); } |