diff options
Diffstat (limited to 'acf/model/node.lua')
-rw-r--r-- | acf/model/node.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acf/model/node.lua b/acf/model/node.lua index 39a0d92..083757c 100644 --- a/acf/model/node.lua +++ b/acf/model/node.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2012 Kaarle Ritvanen +Copyright (c) 2012-2013 Kaarle Ritvanen See LICENSE file for license details --]] @@ -76,7 +76,7 @@ function Collection:init(txn, path, addr, field, required) local mt = getmetatable(self) mt.field = BoundField(self, field) - mt.meta = {type='collection', members=mt.field:meta()} + mt.meta = {type='collection', members=mt.field:meta('$')} function mt.mmeta(name) return mt.meta.members end function mt.members() return txn:get(addr) or {} end |