diff options
author | deva <deva> | 2008-08-04 10:31:45 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-04 10:31:45 +0000 |
commit | 98b90925d863531c3a6c75de15fb686b1fb1891f (patch) | |
tree | 9e6e54df55f4b7e30c4b9c9d447dcd4fe150ff35 /server/src/widgetgenerator.cc | |
parent | bd8221d2791718f02ab1d067c797c62b29da9106 (diff) |
Made server able to run (compile-time) without postgres and the uploadserver. Fixed problems in the exclusion of pentominos support. Fixed bug in db query field iteration.
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r-- | server/src/widgetgenerator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index e9a8fee..ad9ffc6 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -106,7 +106,7 @@ static std::string send_macro_widget(Macro ¯o, static void get_fields(Widget &widget, Fieldnames &fields) { if(widget.attributes.find("value") != widget.attributes.end()) { - fields.push_back(widget.attributes["name"]); + if(widget.attributes["name"] != "") fields.push_back(widget.attributes["name"]); } std::vector< Widget >::iterator w = widget.widgets.begin(); |