From ed95b345b04183d8085bbad46fc82710a54b60c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 26 Aug 2008 12:17:50 +0000
Subject: [PATCH] Don't fail if no ticket is passed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23166 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_crm/PersonModule_newEvent.xml            | 3 ++-
 bt5/erp5_crm/bt/revision                                       | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml
index f277813373..02a028e1c9 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/PersonModule_newEvent.xml
@@ -142,7 +142,7 @@ context.Base_redirect(form_id, keep_items = dict(portal_status_message=portal_st
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>portal_type, title, description, direction, selection_name, follow_up, single_event=0, text_content, form_id, **kw</string> </value>
+            <value> <string>portal_type, title, description, direction, selection_name, follow_up=None, single_event=0, text_content, form_id, **kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -206,6 +206,7 @@ context.Base_redirect(form_id, keep_items = dict(portal_status_message=portal_st
             <key> <string>func_defaults</string> </key>
             <value>
               <tuple>
+                <none/>
                 <int>0</int>
                 <none/>
                 <none/>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 65de5029b4..3d9983adab 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-294
\ No newline at end of file
+295
\ No newline at end of file
-- 
2.30.9