From 57d4dc9a38dfa784023772649a07b334d5ba9c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Tue, 1 Oct 2013 16:02:59 +0200 Subject: [PATCH] prefence undefined variable --- .../SkinTemplateItem/portal_skins/erp5_crm/Base_addEvent.xml | 1 + bt5/erp5_crm/bt/revision | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_addEvent.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_addEvent.xml index 441cbc6e36..1332b34189 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_addEvent.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Base_addEvent.xml @@ -68,6 +68,7 @@ logged_in_user_value = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n start_date = DateTime()\n \n organisation = None\n +person = None\n if logged_in_user_value is not None:\n person = logged_in_user_value.getRelativeUrl()\n organisation = logged_in_user_value.getSubordination()\n diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index ed4df3c909..97db189709 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -666 \ No newline at end of file +667 \ No newline at end of file -- 2.30.9