changed the extractAttribute function to be case insensitive when retrieving

attributes.
This commit is contained in:
patrik 2010-11-04 19:53:01 +00:00
parent e7a185eeea
commit 937b2df7dd

View file

@ -465,7 +465,7 @@ function extractAttribute( searchEntries, attributeName )
for _, attrib in ipairs( v.attributes ) do
local attribType = attrib[1]
for i=2, #attrib do
if attribType == attributeName then
if ( attribType:upper() == attributeName:upper() ) then
table.insert( attributeTbl, attrib[i])
end
end