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