mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
fixed config save testing existence of empty path
This commit is contained in:
parent
c411fdc93a
commit
bae1a83f97
@ -86,7 +86,7 @@ namespace MediaBrowser.Server.Implementations.Configuration
|
|||||||
|
|
||||||
var newIbnPath = newConfig.ItemsByNamePath;
|
var newIbnPath = newConfig.ItemsByNamePath;
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(newIbnPath)
|
if (!string.IsNullOrWhiteSpace(newIbnPath)
|
||||||
&& !string.Equals(Configuration.ItemsByNamePath ?? string.Empty, newIbnPath))
|
&& !string.Equals(Configuration.ItemsByNamePath ?? string.Empty, newIbnPath))
|
||||||
{
|
{
|
||||||
// Validate
|
// Validate
|
||||||
|
Loading…
Reference in New Issue
Block a user