Fix bug in picking up blocking text (patch provided by olau@iola.dk).

- Legacy-Id: 4387
This commit is contained in:
Henrik Levkowetz 2012-05-04 12:57:06 +00:00
parent f43ad63520
commit c7e75522ad

View file

@ -274,7 +274,7 @@ def edit_positionREDESIGN(request, name, ballot_id):
pos.comment = clean["comment"].rstrip()
pos.comment_time = old_pos.comment_time if old_pos else None
pos.discuss = clean["discuss"].rstrip()
if pos.pos_id != "discuss":
if not pos.pos.blocking:
pos.discuss = ""
pos.discuss_time = old_pos.discuss_time if old_pos else None