Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c char and not literal 'c'
parent
e271607bef
commit
b4ce71df1e
|
@ -171,7 +171,7 @@ namespace OpenSim.Framework.Monitoring
|
|||
foreach (char c in DisallowedShortNameCharacters)
|
||||
{
|
||||
if (shortName.IndexOf(c) != -1)
|
||||
shortName = shortName.Replace('c', '#');
|
||||
shortName = shortName.Replace(c, '#');
|
||||
// throw new Exception(string.Format("Stat name {0} cannot contain character {1}", shortName, c));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue