From 6bd5c6bfc093c8eb366c570eddb910f808bf0216 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 3 Oct 2008 02:27:22 +0000 Subject: Check for empty string as well, just as illegal. --- OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs index 3914d2e..6605361 100644 --- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs +++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs @@ -121,7 +121,7 @@ namespace OpenSim.Framework.Configuration.XML public void Commit() { - if (fileName == null) + if (fileName == null || fileName == String.Empty) return; if (!Directory.Exists(Util.configDir())) -- cgit v1.1