diff --git a/files/events/templates/music.html b/files/events/templates/music.html index 52bb866bf..00805d218 100644 --- a/files/events/templates/music.html +++ b/files/events/templates/music.html @@ -1,7 +1,7 @@ {% if not (v and v.poor) and (not g.event_v or g.event_v.event_music) and not (sub and sub.name == 'music') %} {% if not song %} {% set path = "assets/media/event/music" %} - {% set song = "/" + path + "/" + listdir('files/' + path)|random() + '?v=45' %} + {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?v=45' %} {% endif %}