Fix possible issue if configured progress type is null

Using spreading progress by default if it is null.

FEA: ItEr75S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-11-22 13:55:34 +01:00
parent 9a759a3d82
commit 117565e4c6

View file

@ -291,7 +291,8 @@ public class Configuration extends BaseEntity {
}
public ProgressType getProgressType() {
return progressType;
return (progressType == null) ? ProgressType.SPREAD_PROGRESS
: progressType;
}
public void setCompanyLogoURL(String companyLogoURL) {