aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java/at
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-06 13:24:17 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-06 13:24:17 +0100
commitf5576c318bb35ba7e0c59b6b1a590bf52422bf1c (patch)
treea6dcf7856df927b98c6030258c8bb67a8699f137 /id/ConfigWebTool/src/main/java/at
parentbfbafd2a1fd8dc9e8f36b1cf7ea665e7385b47bf (diff)
downloadmoa-id-spss-f5576c318bb35ba7e0c59b6b1a590bf52422bf1c.tar.gz
moa-id-spss-f5576c318bb35ba7e0c59b6b1a590bf52422bf1c.tar.bz2
moa-id-spss-f5576c318bb35ba7e0c59b6b1a590bf52422bf1c.zip
fix Database update problemMOA-ID-2.0-RC1
Diffstat (limited to 'id/ConfigWebTool/src/main/java/at')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/MailHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/MailHelper.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/MailHelper.java
index 37135439e..0aeed8cb5 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/MailHelper.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/helper/MailHelper.java
@@ -174,7 +174,7 @@ public class MailHelper {
String template = readTemplateFromURL(templateurl);
- if (userdb.isIsMandateUser()) {
+ if (userdb.isIsMandateUser() != null && userdb.isIsMandateUser()) {
template = template.replace(PATTERN_GIVENNAME, userdb.getInstitut());
template = template.replace(PATTERN_FAMILYNAME, "");