diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-06 12:56:43 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-06 12:56:43 +0100 |
commit | bfbafd2a1fd8dc9e8f36b1cf7ea665e7385b47bf (patch) | |
tree | fc528b9358a613e61b71db8f7fe17abfb0207ea4 /id/ConfigWebTool/src/main/java/at | |
parent | 402eeaea787d7b6197c31852b6bc4b6eea7bc278 (diff) | |
download | moa-id-spss-bfbafd2a1fd8dc9e8f36b1cf7ea665e7385b47bf.tar.gz moa-id-spss-bfbafd2a1fd8dc9e8f36b1cf7ea665e7385b47bf.tar.bz2 moa-id-spss-bfbafd2a1fd8dc9e8f36b1cf7ea665e7385b47bf.zip |
Fix NullPointer exception
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.java | 2 |
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 6f1112e2e..37135439e 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 @@ -69,7 +69,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, ""); |