Skip to content

Commit 2f9a524

Browse files
committed
fix regression
1 parent 5396c71 commit 2f9a524

File tree

4 files changed

+1
-2
lines changed

4 files changed

+1
-2
lines changed

content/adsabs.xql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,8 @@ declare function adsabs:library-clear($name-or-id){
333333
adsabs:library-add-or-remove($name-or-id, $bibcodes, "remove")
334334
};
335335

336-
337336
declare %private function adsabs:library-add-or-remove($name-or-id, $bibcodes, $action){
338-
if ($bibcodes) then
337+
if (exists($bibcodes)) then
339338
let $quoted-bibcodes-todo := for $b in $bibcodes return """||$b||"""
340339
let $payload := '{"action":"'||$action||'" ,"bibcode": [' || string-join($quoted-bibcodes-todo, ", ") || "]}"
341340
let $id := adsabs:get-libraries()?*?*[?name=$name-or-id or ?id=$name-or-id]?id

target/jmmc-libs/jmal-TRUNK.jar

1.59 KB
Binary file not shown.
1 Byte
Binary file not shown.

target/jmmc-libs/oitools-TRUNK.jar

798 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)