mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Replace != null with is not null
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Emby.Server.Implementations.Sorting
|
||||
{
|
||||
var userdata = UserDataRepository.GetUserData(User, x);
|
||||
|
||||
if (userdata != null && userdata.LastPlayedDate.HasValue)
|
||||
if (userdata is not null && userdata.LastPlayedDate.HasValue)
|
||||
{
|
||||
return userdata.LastPlayedDate.Value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user