Skip to content

Commit

Permalink
Limit the fix to custom field data
Browse files Browse the repository at this point in the history
  • Loading branch information
peteeckel committed Aug 20, 2024
1 parent 3dea3ff commit e8a5fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/utilities/querydict.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def prepare_cloned_fields(instance):
for key, value in attrs.items():
if type(value) in (list, tuple):
params.extend([(key, v) for v in value])
elif value is not None:
elif value is not None and (key.startswith('cf_') or value is not False):
params.append((key, value))
else:
params.append((key, ''))
Expand Down

0 comments on commit e8a5fa3

Please sign in to comment.