summaryrefslogtreecommitdiff
path: root/util/jsgen.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-12-18 19:03:35 +0100
committerYorhel <git@yorhel.nl>2010-12-18 19:03:35 +0100
commit84017ee51424de8ada6f5e93d943dc1b4584e855 (patch)
tree0c6f1b09ed54c69b728db27243d28c6577319b3c /util/jsgen.pl
parent7849c8aeb4f6e6c829a128d7303f63df999a337f (diff)
JS: Fixed bug in jsgen.pl with the generation of age_ratings
Should've tested an earlier commit. jsgen.pl wouldn't even run. >_>
Diffstat (limited to 'util/jsgen.pl')
-rwxr-xr-xutil/jsgen.pl2
1 files changed, 1 insertions, 1 deletions
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}};