diff options
Diffstat (limited to 'server/src/core/value.lua')
-rw-r--r-- | server/src/core/value.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/core/value.lua b/server/src/core/value.lua index 6105c97c..900d022c 100644 --- a/server/src/core/value.lua +++ b/server/src/core/value.lua @@ -184,7 +184,9 @@ function mt:removeUri(uri) if self._child then for name, field in pairs(self._child) do field.uris[uri] = nil - if not next(field.uris) then + if next(field.uris) then + field.value:removeUri(uri) + else self._child[name] = nil end end |