diff options
author | emkael <emkael@tlen.pl> | 2017-09-30 20:35:51 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-30 20:35:51 +0200 |
commit | 53c3fbcff3487079e538207d72c1b18ef2b09d68 (patch) | |
tree | a2d40525ae49e71ea09e698a83c7b512edb6b1a4 /Aktywator/TeamNamesSettings.cs | |
parent | 63a7b703a8e4b9ae238a4718648d3dbd49a7619c (diff) |
Empty row in Teamy names does not force name retransmission anymore
Diffstat (limited to 'Aktywator/TeamNamesSettings.cs')
-rw-r--r-- | Aktywator/TeamNamesSettings.cs | 3 |
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(); } |