Permalink
Browse files

Merge remote-tracking branch 'ronnywang/master'

  • Loading branch information...
2 parents 253f019 + f8f42b8 commit 42bbd36a20f4e4f95a7dd193116b8258f28196e1 @itota committed Oct 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tracsubtickets/api.py
@@ -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 42bbd36

Please sign in to comment.