mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02: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 a new issue