fixed config save testing existence of empty path

pull/702/head
Luke Pulverenti 12 years ago
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…
Cancel
Save