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