summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-30 20:35:51 +0200
committeremkael <emkael@tlen.pl>2017-09-30 20:35:51 +0200
commit53c3fbcff3487079e538207d72c1b18ef2b09d68 (patch)
treea2d40525ae49e71ea09e698a83c7b512edb6b1a4
parent63a7b703a8e4b9ae238a4718648d3dbd49a7619c (diff)
Empty row in Teamy names does not force name retransmission anymore
-rw-r--r--Aktywator/TeamNamesSettings.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Aktywator/TeamNamesSettings.cs b/Aktywator/TeamNamesSettings.cs
index 40b8613..82edee2 100644
--- a/Aktywator/TeamNamesSettings.cs
+++ b/Aktywator/TeamNamesSettings.cs
@@ -82,7 +82,7 @@ namespace Aktywator
ret.Append("fullname, ");
switch (cbSecondRow.SelectedIndex) {
case 0:
- ret.Append("'' FROM teams ORDER BY teams.id");
+ ret.Append("' ' FROM teams ORDER BY teams.id");
break;
case 1:
ret.Append("CONCAT(SUM(IF(segments.homet = teams.id, impH+corrH, impV+corrV)), ' IMP') FROM teams LEFT JOIN segments ON (teams.id = segments.homet OR teams.id = segments.visit) AND segments.rnd = ");
@@ -129,7 +129,6 @@ namespace Aktywator
ret.Append(" AND teams.id = segments.visit LEFT JOIN players p1 ON p1.id = segments.closeN LEFT JOIN players p2 ON p2.id = segments.closeS");
ret.Append(" ORDER BY id");
}
- Console.WriteLine(ret.ToString());
return ret.ToString();
}