fix issue on dynamic web vhost template
This commit is contained in:
parent
e30c0b1d9b
commit
d94c7da7cc
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user