Skip to content

Commit

Permalink
Fix for back porting.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlorenzetti committed Sep 28, 2023
1 parent 8ccba35 commit b624fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g3w-admin/qdjango/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def get_forms(self):
'label': data['label']}

# If fields has a comment, set it as 'help' property
if data['comment']:
if 'comment' in data and data['comment']:
fields[self.layer_name]['fields'][field].update({
"help": data["comment"]
})
Expand Down

0 comments on commit b624fdb

Please sign in to comment.