Fix null ref.
parent
fd050fca7c
commit
e4ecbc2b10
|
@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
|
|
||||||
m_MapImageServerURL = Util.GetConfigVarFromSections<string>(source, "MapTileURL", new string[] {"LoginService", "HGWorldMap", "SimulatorFeatures"});
|
m_MapImageServerURL = Util.GetConfigVarFromSections<string>(source, "MapTileURL", new string[] {"LoginService", "HGWorldMap", "SimulatorFeatures"});
|
||||||
|
|
||||||
if (m_MapImageServerURL != string.Empty)
|
if (!string.IsNullOrEmpty(m_MapImageServerURL))
|
||||||
{
|
{
|
||||||
m_MapImageServerURL = m_MapImageServerURL.Trim();
|
m_MapImageServerURL = m_MapImageServerURL.Trim();
|
||||||
if (!m_MapImageServerURL.EndsWith("/"))
|
if (!m_MapImageServerURL.EndsWith("/"))
|
||||||
|
|
Loading…
Reference in New Issue