diff options
Diffstat (limited to 'OpenSim/Data/DBGuids.cs')
-rw-r--r-- | OpenSim/Data/DBGuids.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/DBGuids.cs b/OpenSim/Data/DBGuids.cs index 1a13e06..fb6832b 100644 --- a/OpenSim/Data/DBGuids.cs +++ b/OpenSim/Data/DBGuids.cs | |||
@@ -27,7 +27,7 @@ namespace OpenSim.Data | |||
27 | { | 27 | { |
28 | if (((byte[])id).Length == 0) | 28 | if (((byte[])id).Length == 0) |
29 | return UUID.Zero; | 29 | return UUID.Zero; |
30 | else if (((byte[])id).Length == 36) | 30 | else if (((byte[])id).Length == 16) |
31 | return new UUID((byte[])id, 0); | 31 | return new UUID((byte[])id, 0); |
32 | } | 32 | } |
33 | else if (id.GetType() == typeof(string)) | 33 | else if (id.GetType() == typeof(string)) |