diff --git a/components/infobox/commons/infobox_league.lua b/components/infobox/commons/infobox_league.lua index 33673f71f93..44d45e38ca7 100644 --- a/components/infobox/commons/infobox_league.lua +++ b/components/infobox/commons/infobox_league.lua @@ -451,7 +451,7 @@ function League:_definePageVariables(args) Variables.varDefine('tournament_liquipediatier', self.data.liquipediatier) Variables.varDefine('tournament_liquipediatiertype', self.data.liquipediatiertype) - Variables.varDefine('tournament_publishertier', tostring(self.data.publishertier)) + Variables.varDefine('tournament_publishertier', tostring(self.data.publishertier or '')) Variables.varDefine('tournament_type', args.type) Variables.varDefine('tournament_mode', self.data.mode) @@ -522,7 +522,7 @@ function League:_setLpdbData(args, links) prizepool = self.data.prizepoolUsd, liquipediatier = self.data.liquipediatier, liquipediatiertype = self.data.liquipediatiertype, - publishertier = tostring(self.data.publishertier), + publishertier = tostring(self.data.publishertier or ''), participantsnumber = tonumber(args.participants_number) or tonumber(args.team_number) or tonumber(args.player_number) diff --git a/spec/prize_pool_spec.lua b/spec/prize_pool_spec.lua index f1cf9bd0c2a..9b5b4ac7ef6 100644 --- a/spec/prize_pool_spec.lua +++ b/spec/prize_pool_spec.lua @@ -121,7 +121,6 @@ describe('prize pool', function() players = '{"p1":"Rathoz","p1dn":"Rathoz","p1flag":"Sweden"}', -- Legacy prizemoney = 970.97276906869001323, prizepoolindex = 1, - publishertier = 'false', series = 'Test Series', shortname = 'Test Tourney', startdate = '2022-10-13', diff --git a/spec/team_card_storage_spec.lua b/spec/team_card_storage_spec.lua index 296cb0f9b50..23630918cd6 100644 --- a/spec/team_card_storage_spec.lua +++ b/spec/team_card_storage_spec.lua @@ -25,7 +25,6 @@ describe('Team Card Storage', function() imagedark = args.imagedark1, mode = 'team', participant = 'Team Liquid', - publishertier = 'false', icon = tournamentData.icon, icondark = tournamentData.icondark, game = string.lower(tournamentData.game),