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
module = portal.getDefaultModule(response_event_portal_type)\n
\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
resource=response_event_resource,\n
title=response_event_title,\n
......
694
\ No newline at end of file
695
\ 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