Check for empty string as well, just as illegal.
parent
189c3e5a82
commit
6bd5c6bfc0
|
@ -121,7 +121,7 @@ namespace OpenSim.Framework.Configuration.XML
|
||||||
|
|
||||||
public void Commit()
|
public void Commit()
|
||||||
{
|
{
|
||||||
if (fileName == null)
|
if (fileName == null || fileName == String.Empty)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!Directory.Exists(Util.configDir()))
|
if (!Directory.Exists(Util.configDir()))
|
||||||
|
|
Loading…
Reference in New Issue