Browse Source

Merge pull request #4733 from crobibero/omdb-null

Fix potential null reference in OMDB

(cherry picked from commit 87e13b858a27eee2af6d6cc0d69ed736325ac668)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Bond-009 4 years ago
parent
commit
24e4fcc3b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Providers/Plugins/Omdb/OmdbProvider.cs

+ 1 - 1
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
                 };