Fix bug when SVN-committing on task without parent
This commit is contained in:
@@ -183,7 +183,7 @@ class TaskManager(object):
|
|||||||
register_activity(
|
register_activity(
|
||||||
user_id, msg,
|
user_id, msg,
|
||||||
'node', task['_id'],
|
'node', task['_id'],
|
||||||
'node', task['parent'] or task['_id'],
|
'node', task.get('parent', None) or task['_id'],
|
||||||
project_id=task['project'])
|
project_id=task['project'])
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user