mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
JSON Plugin: Cannot Set an empty value
This commit is contained in:
parent
fa69524868
commit
72207e3aa1
1 changed files with 6 additions and 1 deletions
|
|
@ -1629,7 +1629,12 @@ static int setvalue_param(char *refparam, struct dmctx *ctx, void *data, char *i
|
|||
}
|
||||
}
|
||||
|
||||
bbfdm_get_reference_linker(ctx, value, &reference);
|
||||
if (DM_LSTRSTR(value, "=>")) {
|
||||
bbfdm_get_reference_linker(ctx, value, &reference);
|
||||
} else {
|
||||
reference.path = value;
|
||||
reference.value = "";
|
||||
}
|
||||
|
||||
switch (action) {
|
||||
case VALUECHECK:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue