Fixed a bug which would set the state in the event accompanying a WG activation to 'Proposed', which messes up various views.

- Legacy-Id: 5624
This commit is contained in:
Henrik Levkowetz 2013-04-05 11:20:58 +00:00
parent b183273c72
commit f71d40423a

View file

@ -613,8 +613,8 @@ def approve(request, name):
e = ChangeStateGroupEvent(group=wg, type="changed_state")
e.time = wg.time
e.by = login
e.state_id = "proposed"
e.desc = "Proposed group"
e.state_id = "active"
e.desc = "Charter approved, group active"
e.save()
# update the change description for the email
change_description += " and WG state has been changed to %s" % new_state.name