Allow llList2Key to also act on System.String

avinationmerge
Melanie 2012-08-29 22:06:43 +02:00
parent f7a60261e9
commit 67f18655d5
1 changed files with 2 additions and 1 deletions

View File

@ -5475,7 +5475,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// for completion and should LSL_Key ever be implemented
// as it's own struct
else if (!(src.Data[index] is LSL_String ||
src.Data[index] is LSL_Key))
src.Data[index] is LSL_Key ||
src.Data[index] is String))
{
return "";
}