Commit b0c95966 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

fixing misc nb title by GET param

parent 8c85f4b7
......@@ -21,7 +21,9 @@ function f-misc:get-title-by-baseUri($baseUri as xs:string) as xs:string? {
declare function f-misc:nb-param-to-title($node as node(), $model as map(*), $nb)
as xs:string? {
f-misc:get-title-by-baseUri( "textgrid:" || $nb )
if($nb = "")
then ""
else f-misc:get-title-by-baseUri( "textgrid:" || $nb )
};
declare function f-misc:cite($node as node(), $model as map(*)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment