diff options
Diffstat (limited to 'OpenSim/Framework/Configuration/XML/XmlConfiguration.cs')
-rw-r--r-- | OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs index 43162fc..3152a7d 100644 --- a/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs +++ b/OpenSim/Framework/Configuration/XML/XmlConfiguration.cs | |||
@@ -121,7 +121,7 @@ namespace OpenSim.Framework.Configuration.XML | |||
121 | 121 | ||
122 | public void Commit() | 122 | public void Commit() |
123 | { | 123 | { |
124 | if (fileName == null || fileName == String.Empty) | 124 | if (string.IsNullOrEmpty(fileName)) |
125 | return; | 125 | return; |
126 | 126 | ||
127 | if (!Directory.Exists(Util.configDir())) | 127 | if (!Directory.Exists(Util.configDir())) |