From d94c7da7cc954c153878ce3ce05b0e5a9b3d644e Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
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 files changed, 1 insertions(+), 1 deletions(-)

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 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() {

--
Gitblit v1.9.0-SNAPSHOT