Explorar o código

Merge pull request #7021 from cvium/baseitem_closure

Cody Robibero %!s(int64=3) %!d(string=hai) anos
pai
achega
db46eaa744
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);