commit | 4cd0a6040a0992030af6aaa439928d525c860aa2 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon May 31 11:11:58 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon May 31 11:12:21 2021 +0200 |
tree | cae48359ee9c068778b82929a36a056e148c0b9b | |
parent | cebbae515433241da1cf5edc54b5f89f84c69e60 [diff] [blame] |
data tree BUGFIX always use dynamic value Fixes #1598
diff --git a/src/tree_data.c b/src/tree_data.c index c864d7b..c7b7e53 100644 --- a/src/tree_data.c +++ b/src/tree_data.c
@@ -824,7 +824,7 @@ assert(ctx && name && name_len && format); - if (!value_len) { + if (!value_len && (!dynamic || !*dynamic)) { value = ""; }