Parcourir la source

Merge pull request #7021 from cvium/baseitem_closure

Cody Robibero il y a 3 ans
Parent
commit
db46eaa744
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -2739,7 +2739,7 @@ namespace MediaBrowser.Controller.Entities
         }
 
         /// <inheritdoc />
-        public bool Equals(BaseItem other) => Equals(Id, other?.Id);
+        public bool Equals(BaseItem other) => Id == other?.Id;
 
         /// <inheritdoc />
         public override int GetHashCode() => HashCode.Combine(Id);