From caf61ab7d814232d3da87e21e409fd9e3916d5c1 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 18 May 2010 23:22:30 +0100 Subject: [PATCH] Binary Guids are 16 chars long. Fix parser. --- OpenSim/Data/DBGuids.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/DBGuids.cs b/OpenSim/Data/DBGuids.cs index 1a13e06f06..fb6832b8d1 100644 --- a/OpenSim/Data/DBGuids.cs +++ b/OpenSim/Data/DBGuids.cs @@ -27,7 +27,7 @@ namespace OpenSim.Data { if (((byte[])id).Length == 0) return UUID.Zero; - else if (((byte[])id).Length == 36) + else if (((byte[])id).Length == 16) return new UUID((byte[])id, 0); } else if (id.GetType() == typeof(string))