forked from 0x2620/pandora
make sure title and original title are not the same
This commit is contained in:
parent
ecafcbdb26
commit
c4ff34e9c7
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ pandora.ui.metadataDialog = function(data) {
|
|||
if (result.data) {
|
||||
imdb = Ox.clone(result.data, true);
|
||||
if (!Ox.contains(keys, 'originalTitle')) {
|
||||
if (imdb.originalTitle) {
|
||||
if (imdb.originalTitle && imdb.originalTitle != imdb.title) {
|
||||
imdb.alternativeTitles = [[imdb.title, []]].concat(imdb.alternativeTitles || []);
|
||||
imdb.title = imdb.originalTitle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue