Check for empty string as well, just as illegal.

0.6.0-stable
Melanie Thielker 2008-10-03 02:27:22 +00:00
parent 189c3e5a82
commit 6bd5c6bfc0
1 changed files with 1 additions and 1 deletions

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