From d12fa01d7ac999ea45eaea424b4b444e6ec88868 Mon Sep 17 00:00:00 2001 From: crobibero Date: Mon, 7 Dec 2020 19:10:35 -0700 Subject: [PATCH] Fix potential null reference --- MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs index e540e44713..e6c6050720 100644 --- a/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs +++ b/MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs @@ -425,7 +425,7 @@ namespace MediaBrowser.Providers.Plugins.Omdb { var person = new PersonInfo { - Name = result.Director.Trim(), + Name = result.Writer.Trim(), Type = PersonType.Writer };