diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 150e4072ac..c720a8d89a 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -864,7 +864,7 @@ namespace Emby.Server.Implementations.Data if (topParent != null) { //Logger.Debug("Item {0} has top parent {1}", item.Id, topParent.Id); - saveItemStatement.TryBind("@IsFolder", topParent.Id.ToString("N")); + saveItemStatement.TryBind("@TopParentId", topParent.Id.ToString("N")); } else {