summaryrefslogtreecommitdiffstats
path: root/acf2/model/set.lua
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-11-30 22:35:33 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2013-12-03 23:30:18 +0200
commit4fd4280e0fdef0903a4ce00debb3f94c67c52d41 (patch)
tree46bb4dd54ee959e9c64cfae56a631b3d26f64166 /acf2/model/set.lua
parentf8feba97a9ea3b1718f8c2a4a218f4a1a54711dd (diff)
downloadaconf-4fd4280e0fdef0903a4ce00debb3f94c67c52d41.tar.bz2
aconf-4fd4280e0fdef0903a4ce00debb3f94c67c52d41.tar.xz
model: field nomalization method
Diffstat (limited to 'acf2/model/set.lua')
-rw-r--r--acf2/model/set.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/acf2/model/set.lua b/acf2/model/set.lua
index 0e73b38..808dc58 100644
--- a/acf2/model/set.lua
+++ b/acf2/model/set.lua
@@ -42,7 +42,7 @@ function M.Set:init(context, params)
function mt.contains(v)
return find(
- node.BoundMember(self, pth.wildcard, params.field):_validate(v)
+ node.BoundMember(self, pth.wildcard, params.field):normalize(v)
) and true or false
end