Commit 58761e15 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

add a module-get method with default value

parent 5b3cd46d
......@@ -50,7 +50,6 @@ declare function fconfig:module-get($module-name as xs:string, $key as xs:string
declare function fconfig:module-get($module-name as xs:string, $key as xs:string, $default as item()?) as item()? {
let $value := fconfig:module-get($module-name , $key)
let $b := console:log($value)
return if (empty($value)) then
$default
else
......
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