Fix bug in matching formula

This commit is contained in:
2025-07-19 22:27:38 +02:00
parent 2c81d0cac3
commit 00ea7e18e8

View File

@@ -181,7 +181,7 @@ public class TLWMatch extends BaseMatch{
public String getFormulaHome() { public String getFormulaHome() {
String formula = "'D'"; String formula = "'D'";
if (this.formulaHome != null) { if (this.formulaHome != null) {
formula = "'"+this.formulaHome+"'"; formula = this.formulaHome;
} }
return formula; return formula;
} }
@@ -189,7 +189,7 @@ public class TLWMatch extends BaseMatch{
public String getFormulaGuest() { public String getFormulaGuest() {
String formula = "'D'"; String formula = "'D'";
if (this.formulaGuest != null) { if (this.formulaGuest != null) {
formula = "'"+this.formulaGuest+"'"; formula = this.formulaGuest;
} }
return formula; return formula;
} }