empty imdbid is also allowed
This commit is contained in:
parent
074ee1e715
commit
f8458777b3
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
|||
? Ox.decodeHTMLEntities(value).split('; ').map(Ox.encodeHTMLEntities)
|
||||
: [];
|
||||
} else if (key == 'imdbId') {
|
||||
edit[key] = value.match(/\d{7}/)[0];
|
||||
edit[key] = value ? value.match(/\d{7}/)[0] : value;
|
||||
} else {
|
||||
edit[key] = value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue