Commit 19bdcf72 authored by Yusei Tahara's avatar Yusei Tahara

the default value of respond_event_portal_type is empty string.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21228 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ab37325c
...@@ -76,7 +76,7 @@ portal_type = portal_workflow.getInfoFor(event,\n ...@@ -76,7 +76,7 @@ portal_type = portal_workflow.getInfoFor(event,\n
wf_id=\'event_workflow\')\n wf_id=\'event_workflow\')\n
\n \n
# Pass Mark Responded transition.\n # Pass Mark Responded transition.\n
if portal_type is None:\n if not portal_type:\n
return\n return\n
\n \n
title = portal_workflow.getInfoFor(event,\n title = portal_workflow.getInfoFor(event,\n
...@@ -145,7 +145,6 @@ event.Event_createRespondEvent(portal_type, title, resource, text_content)\n ...@@ -145,7 +145,6 @@ event.Event_createRespondEvent(portal_type, title, resource, text_content)\n
<string>_getitem_</string> <string>_getitem_</string>
<string>event</string> <string>event</string>
<string>portal_type</string> <string>portal_type</string>
<string>None</string>
<string>title</string> <string>title</string>
<string>resource</string> <string>resource</string>
<string>text_content</string> <string>text_content</string>
......
254 255
\ 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