port testbot profile

This commit is contained in:
Dennis Luxen
2014-08-27 18:10:04 +02:00
parent 94a2188090
commit 462d4c99cc
3 changed files with 58 additions and 56 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ module "Access"
function find_access_tag(source,access_tags_hierachy)
for i,v in ipairs(access_tags_hierachy) do
local tag = source.tags:Find(v)
local tag = source:get_value_by_key(v)
if tag ~= '' then
return tag
end
end
return nil
end
end