Explorar o código

Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs

Co-authored-by: Bond-009 <bond.009@outlook.com>
JPVenson %!s(int64=2) %!d(string=hai) anos
pai
achega
0f60ec3013

+ 1 - 1
Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs

@@ -88,7 +88,7 @@ public class CleanupCollectionPathsTask : IScheduledTask
                 }
             }
 
-            if (itemsToRemove.Any())
+            if (itemsToRemove.Count != 0)
             {
                 _logger.LogDebug("Update Boxset {CollectionName}", collection.Name);
                 collection.LinkedChildren = collection.LinkedChildren.Except(itemsToRemove).ToArray();