diff options
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index a5c7d34..78fffa6 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -494,7 +494,7 @@ namespace OpenSim.Services.GridService | |||
494 | { | 494 | { |
495 | // m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); | 495 | // m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); |
496 | 496 | ||
497 | List<RegionData> rdatas = m_Database.Get(Util.EscapeForLike(name) + "%", scopeID); | 497 | List<RegionData> rdatas = m_Database.Get("%" + Util.EscapeForLike(name) + "%", scopeID); |
498 | 498 | ||
499 | int count = 0; | 499 | int count = 0; |
500 | List<GridRegion> rinfos = new List<GridRegion>(); | 500 | List<GridRegion> rinfos = new List<GridRegion>(); |