mirror of
https://github.com/opensim/opensim.git
synced 2026-07-20 22:55:38 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -2228,7 +2228,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||
{
|
||||
// m_log.DebugFormat("[XEngine]: Writing state for script item with ID {0}", itemID);
|
||||
|
||||
if (xml == String.Empty)
|
||||
if (xml.Length == 0)
|
||||
return false;
|
||||
|
||||
XmlDocument doc = new XmlDocument();
|
||||
|
||||
Reference in New Issue
Block a user