diff --git a/static/js/getItemTitle.js b/static/js/getItemTitle.js index 286036c6..a13c8b83 100644 --- a/static/js/getItemTitle.js +++ b/static/js/getItemTitle.js @@ -1,6 +1,10 @@ 'use strict'; pandora.getItemTitle = function(itemData, includeYear) { + var director = itemData.director + if (!Ox.isArray(director)) { + director = [director] + } return (itemData.title || Ox._('Untitled')) + ( Ox.len(itemData.director) || (includeYear && itemData.year) ? ' (' + (