diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-12-19 10:31:45 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-12-19 10:31:45 +0100 |
commit | c61df20d52e8c2744dd30078ae20f3b37c0b2110 (patch) | |
tree | 72dac7bce3b64c5fa1ba43c44ed51e984307a006 /id/ConfigWebTool | |
parent | 85984d9432521ea4e14039d37d434f863c492cf1 (diff) | |
download | moa-id-spss-c61df20d52e8c2744dd30078ae20f3b37c0b2110.tar.gz moa-id-spss-c61df20d52e8c2744dd30078ae20f3b37c0b2110.tar.bz2 moa-id-spss-c61df20d52e8c2744dd30078ae20f3b37c0b2110.zip |
fix problem with empty database
Diffstat (limited to 'id/ConfigWebTool')
-rw-r--r-- | id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java index 31c29aef0..4236c0d13 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/struts/action/EditGeneralConfigAction.java @@ -241,6 +241,9 @@ public class EditGeneralConfigAction extends BasicAction { } MOAIDConfiguration dbconfig = ConfigurationDBRead.getMOAIDConfiguration(); + if (dbconfig == null) + dbconfig = new MOAIDConfiguration(); + AuthComponentGeneral dbauth = dbconfig.getAuthComponentGeneral(); if (dbauth == null) { |