Browse Source

Fix potential null reference

crobibero 4 years ago
parent
commit
d12fa01d7a
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
                 };