summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua')
-rw-r--r--Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua
index 0914289a208..5cc3df5579c 100644
--- a/Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua
+++ b/Master/texmf-dist/scripts/citation-style-language/citeproc-node-style.lua
@@ -80,7 +80,7 @@ function Style:parse(xml_str)
return nil
end
local style_node = csl_xml:get_path("style")[1]
- if not csl_xml then
+ if not style_node then
error('Element "style" not found.')
end
return Style:from_node(style_node)