The Free Software Media System - Server Backend & API
fix param order
Luke Pulverentid821da7c0bd5
diff --git a/Emby.Server.Implementations/Notifications/SqliteNotificationsRepository.cs b/Emby.Server.Implementations/Notifications/SqliteNotificationsRepository.csindex ee900ef33a..2f3bee7881 100644--- a/Emby.Server.Implementations/Notifications/SqliteNotificationsRepository.cs+++ b/Emby.Server.Implementations/Notifications/SqliteNotificationsRepository.cs@@ -279,7 +279,7 @@ namespace Emby.Server.Implementations.Notifications{connection.RunInTransaction(conn =>{- conn.Execute("update Notifications set IsRead=? where UserId=?", userId.ToGuidParamValue(), isRead);+ conn.Execute("update Notifications set IsRead=? where UserId=?", isRead, userId.ToGuidParamValue());});}}@@ -299,7 +299,7 @@ namespace Emby.Server.Implementations.Notificationsforeach (var id in notificationIdList){- conn.Execute("update Notifications set IsRead=? where UserId=? and Id=?", userIdParam, isRead, id);+ conn.Execute("update Notifications set IsRead=? where UserId=? and Id=?", isRead, userIdParam, id);}});}