fixed config save testing existence of empty path

This commit is contained in:
Luke Pulverenti 2013-08-03 10:39:23 -04:00
parent c411fdc93a
commit bae1a83f97

View file

@ -86,7 +86,7 @@ namespace MediaBrowser.Server.Implementations.Configuration
var newIbnPath = newConfig.ItemsByNamePath;
if (!string.IsNullOrEmpty(newIbnPath)
if (!string.IsNullOrWhiteSpace(newIbnPath)
&& !string.Equals(Configuration.ItemsByNamePath ?? string.Empty, newIbnPath))
{
// Validate