diff --git a/src/Pumukit/WebTVBundle/Resources/views/Misc/tracks.html.twig b/src/Pumukit/WebTVBundle/Resources/views/Misc/tracks.html.twig index a465f25fd..1a4725646 100644 --- a/src/Pumukit/WebTVBundle/Resources/views/Misc/tracks.html.twig +++ b/src/Pumukit/WebTVBundle/Resources/views/Misc/tracks.html.twig @@ -8,7 +8,7 @@  |   - {% set lang = (object.getProperty('opencastlanguage')?(object.getProperty('opencastlanguage')|lower):(object.isMultistream()?object.getFilteredTrackWithTags(['display'], [], [], []).getLanguage():'en')) %} + {% set lang = (object.getProperty('opencastlanguage')?(object.getProperty('opencastlanguage')|lower):(object.isMultistream()?object.getFilteredTrackWithTags(['display'], [], [], []).language():'en')) %} {{ is_addon_language(lang) ? lang | language_name_custom : lang | language_name | capitalize }}  |  {{ mmobj_duration(object) | duration_string }}