fix issue on dynamic web vhost template

This commit is contained in:
Peter Hormanns 2013-05-10 14:56:29 +02:00
parent e30c0b1d9b
commit d94c7da7cc

View File

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