From 84017ee51424de8ada6f5e93d943dc1b4584e855 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sat, 18 Dec 2010 19:03:35 +0100 Subject: JS: Fixed bug in jsgen.pl with the generation of age_ratings Should've tested an earlier commit. jsgen.pl wouldn't even run. >_> --- util/jsgen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/jsgen.pl b/util/jsgen.pl index c1a9593b..a2a7d7af 100755 --- a/util/jsgen.pl +++ b/util/jsgen.pl @@ -104,7 +104,7 @@ sub jsgen { $common .= sprintf "rlst_rstat = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{rlst_rstat}}; $common .= sprintf "rlst_vstat = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{rlst_vstat}}; $common .= sprintf "cookie_prefix = '%s';\n", $S{cookie_prefix}; - $common .= sprintf "age_ratings = [ %s ];\n", join ',', map @{$S{age_ratings}}; + $common .= sprintf "age_ratings = [ %s ];\n", join ',', @{$S{age_ratings}}; $common .= sprintf "languages = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{languages}}; $common .= sprintf "platforms = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{platforms}}; $common .= sprintf "media = [ %s ];\n", join ', ', map qq{"$_"}, sort keys %{$S{media}}; -- cgit v1.2.3