Changeset - 023fd0274c40
[Not reviewed]
0 1 0
Jan Kaluza - 10 years ago 2015-11-13 08:29:22
jkaluza@redhat.com
Fix createBooleanField compatibility with swiften2
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/formutils.cpp
Show inline comments
 
@@ -118,7 +118,7 @@ createBooleanField(const std::string &name, const std::string &value, const std:
 
	FormField::ref field = boost::make_shared<FormField>(FormField::BooleanType, value);
 
#else
 
	BooleanFormField::ref field = BooleanFormField::create();
 
	field->setValue(value == "0");
 
	field->setValue(value == "1");
 
#endif
 
	field->setName(name);
 
	field->setLabel(label);
0 comments (0 inline, 0 general)