summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index ad07e90e..227282bc 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -292,7 +292,7 @@ function m.getUri(obj)
end
local root = m.getRoot(obj)
if root then
- return root.uri
+ return root.uri or ''
end
return ''
end