work around invalid directors
This commit is contained in:
parent
e5339fd297
commit
85b88c4dd6
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
? ' (' + (
|
||||
|
|
Loading…
Reference in a new issue