mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Merge with default
This commit is contained in:
@@ -179,7 +179,7 @@ namespace MediaBrowser.Controller.IO
|
||||
|
||||
public static bool IsShortcut(string filename)
|
||||
{
|
||||
return Path.GetExtension(filename).EndsWith("lnk", StringComparison.OrdinalIgnoreCase);
|
||||
return filename != null ? Path.GetExtension(filename).EndsWith("lnk", StringComparison.OrdinalIgnoreCase) : false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user