diff --git a/add/data/xql/getAnnotation.xql b/add/data/xql/getAnnotation.xql index 4e2de75ce..6bfd4a659 100644 --- a/add/data/xql/getAnnotation.xql +++ b/add/data/xql/getAnnotation.xql @@ -280,7 +280,7 @@ declare function local:calculatePreviewsForTip($participants as xs:string*) { for $zone in $zones let $e := $elems[substring(@facs, 2) = $zone/@xml:id][1] - let $e := + + let $e := if ($e) then ($e) else