Skip to content
Snippets Groups Projects
Commit 3280116b authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix: Mixing up field values

parent e8c72bc9
Branches
Tags
2 merge requests!17Develop,!9Update with develop before real branch work starts
......@@ -134,7 +134,7 @@ public class OrganizationController extends HttpServlet {
organization.setDefaultMapZoom(
formValidation.getFormField("defaultMapZoom").isEmpty() ?
null
: formValidation.getFormField("defaultVipsCoreUserId").getValueAsInteger()
: formValidation.getFormField("defaultMapZoom").getValueAsInteger()
);
organization.setDefaultMapCenter(
formValidation.getFormField("defaultMapCenter").isEmpty() || formValidation.getFormField("defaultMapCenter").getWebValue().trim().equals(",") ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment