Merge pull request #4733 from crobibero/omdb-null

Fix potential null reference in OMDB
This commit is contained in:
Bond-009 2020-12-09 00:28:32 +01:00 committed by GitHub
commit 87e13b858a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -425,7 +425,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb
{
var person = new PersonInfo
{
Name = result.Director.Trim(),
Name = result.Writer.Trim(),
Type = PersonType.Writer
};