Skip to content

Commit

Permalink
Merge pull request #2069 from plone/fix-group-edit-form
Browse files Browse the repository at this point in the history
Fix current value in group details edit form
  • Loading branch information
jensens authored Jun 16, 2017
2 parents 103cb4f + be46f4a commit 0c1916c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ New features:

Bug fixes:

- Fix current value in group details edit form.
[Gagaro]

- Fixed KeyError ``productname`` when there is a broken add-on in the add-ons control panel.
Fixes `issue 2065 <https://github.com/plone/Products.CMFPlone/issues/2065>`_.
[maurits]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GroupDetailsControlPanel(UsersGroupsControlPanelView):

def get_group_property(self, prop_id):
try:
self.group.getProperty(prop_id, None)
return self.group.getProperty(prop_id, None)
except AttributeError:
pass

Expand Down

0 comments on commit 0c1916c

Please sign in to comment.