mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Fix parameters validation in ImageProcessor.GetCachePath
This commit is contained in:
@@ -455,7 +455,7 @@ namespace Emby.Drawing
|
||||
throw new ArgumentException("Path can't be empty.", nameof(path));
|
||||
}
|
||||
|
||||
if (path.IsEmpty)
|
||||
if (filename.IsEmpty)
|
||||
{
|
||||
throw new ArgumentException("Filename can't be empty.", nameof(filename));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user