Commit f6d7f797 authored by Jérome Perrin's avatar Jérome Perrin

Event_createResponse: keep same behaviour when sender is not passed explicitly

parent a25ab9cf
...@@ -56,7 +56,7 @@ portal = context.getPortalObject()\n ...@@ -56,7 +56,7 @@ portal = context.getPortalObject()\n
module = portal.getDefaultModule(response_event_portal_type)\n module = portal.getDefaultModule(response_event_portal_type)\n
\n \n
response = module.newContent(portal_type=response_event_portal_type,\n response = module.newContent(portal_type=response_event_portal_type,\n
source=default_destination,\n source=default_destination or context.getDestination(),\n
destination=context.getSource(),\n destination=context.getSource(),\n
resource=response_event_resource,\n resource=response_event_resource,\n
title=response_event_title,\n title=response_event_title,\n
......
694 695
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment