Commit 3a595b19 authored by Łukasz Nowak's avatar Łukasz Nowak

First fallback to passed kw.

parent a3cf4b6c
......@@ -60,7 +60,7 @@ sender = event.getSourceValue()\n
if sender is not None:\n
from_url = formataddr((sender.getTitle(), sender.getDefaultEmailText()))\n
else:\n
from_url = portal.portal_preferences.getPreferredEventSenderEmail()\n
from_url = kw.get(\'from_url\', portal.portal_preferences.getPreferredEventSenderEmail())\n
\n
to_url = formataddr((context.getTitle(), context.getDefaultEmailText()))\n
\n
......
1018
\ No newline at end of file
1019
\ 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