aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-02-04 22:01:37 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-02-04 22:01:37 -0500
commit1f1852f3cbe2a7899aea0d306a77d2eedb0434fc (patch)
treed91b09f6fa21f6247c3eb4cdd499aac6206c7afb /MediaBrowser.Server.Implementations/Library/LibraryManager.cs
parent046a1de253bbd20a2ee40958071330b316e91d6f (diff)
sync updates
Diffstat (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Library/LibraryManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index d7ea444a3..29871d928 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -517,6 +517,11 @@ namespace MediaBrowser.Server.Implementations.Library
public IEnumerable<BaseItem> ReplaceVideosWithPrimaryVersions(IEnumerable<BaseItem> items)
{
+ if (items == null)
+ {
+ throw new ArgumentNullException("items");
+ }
+
var dict = new Dictionary<Guid, BaseItem>();
foreach (var item in items)