Permalink
Browse files

allow modify ticket parent child both are closed

  • Loading branch information...
Shang-Rung Wang
Shang-Rung Wang committed Feb 15, 2012
1 parent c39c97b commit f8f42b88612fff35750562e9529e64fa765b13ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 tracsubtickets/api.py
View
@@ -201,7 +201,7 @@ def _check_parents(id, all_parents):
for x in ids:
# check parent ticket state
parent = Ticket(self.env, x)
- if parent and parent['status'] == 'closed':
+ if parent and parent['status'] == 'closed' and ticket['status'] != 'closed':
yield 'parents', _('Parent ticket #%s is closed') % x
else:
# check circularity

0 comments on commit f8f42b8

Please sign in to comment.