Check for empty string as well, just as illegal.

This commit is contained in:
Melanie Thielker
2008-10-03 02:27:22 +00:00
parent 189c3e5a82
commit 6bd5c6bfc0

View File

@@ -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()))