From d94c7da7cc954c153878ce3ce05b0e5a9b3d644e Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 10 May 2013 14:56:29 +0200 Subject: [PATCH] fix issue on dynamic web vhost template --- hsarback/src/de/hsadmin/mods/dom/Domain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/Domain.java b/hsarback/src/de/hsadmin/mods/dom/Domain.java index f86e06e..47bdd7c 100644 --- a/hsarback/src/de/hsadmin/mods/dom/Domain.java +++ b/hsarback/src/de/hsadmin/mods/dom/Domain.java @@ -183,7 +183,7 @@ public class Domain extends AbstractEntity { public boolean isDynamic() { String basepacName = getUser().getPac().getBasepac().getName(); - return isPacDomain() || (basepacName == Pac.PAC_DW) || (basepacName == Pac.PAC_WEB); + return isPacDomain() || basepacName.equals(Pac.PAC_DW) || basepacName.equals(Pac.PAC_WEB); } public boolean isStatic() {