Fix small bug
This commit is contained in:
@@ -25,6 +25,9 @@ public class MatchesListForumUpdater {
|
||||
|
||||
public void updateLeague(int season, int league) {
|
||||
MatchesListCreator creator = new MatchesListCreator(season, league);
|
||||
if(creator.getMatches().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
String content = creator.getMatchesBeautiful();
|
||||
String contentWithCodeBBCode = "<r><CODE><s>[code]</s>" + content + "<e>[/code]</e></CODE></r>";
|
||||
Integer postId = getPostId(season, creator.getCountry(), creator.getLeagueName());
|
||||
|
||||
Reference in New Issue
Block a user