changeset 907:ca1af8bbfe1f

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 06 Apr 2016 12:20:12 +0200
parents 22052e4808c0 (diff) df2908334150 (current diff)
children 51051e85348f
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/UserInfo.java	Tue Apr 05 10:49:13 2016 +0200
+++ b/src/main/java/de/intevation/lada/util/auth/UserInfo.java	Wed Apr 06 12:20:12 2016 +0200
@@ -106,6 +106,9 @@
 
     public boolean belongsTo(String messstelle, String labor) {
         for (Auth a : auth) {
+            if (a.getMstId() == null) {
+                continue;
+            }
             if (a.getMstId().contains(messstelle) &&
                 a.getLaborMstId() != null &&
                 labor != null &&
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)