[Vtigercrm-commits] [vtiger-commits] r10561 - /vtigercrm/branches/5.0.3/modules/Calendar/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 4 11:48:13 EDT 2007
Author: saraj
Date: Wed Apr 4 09:48:08 2007
New Revision: 10561
Log:
ToDo notification mail is not proper -fixed. Fixes #3287
Modified:
vtigercrm/branches/5.0.3/modules/Calendar/Save.php
Modified: vtigercrm/branches/5.0.3/modules/Calendar/Save.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/Save.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/Save.php Wed Apr 4 09:48:08 2007
@@ -170,7 +170,8 @@
$mail_data['mode'] = $_REQUEST['mode'];
$value = getaddEventPopupTime($_REQUEST['time_start'],$_REQUEST['time_end'],'24');
$start_hour = $value['starthour'].':'.$value['startmin'].''.$value['startfmt'];
- $end_hour = $value['endhour'] .':'.$value['endmin'].''.$value['endfmt'];
+ if($_REQUEST['activity_mode']!='Task')
+ $end_hour = $value['endhour'] .':'.$value['endmin'].''.$value['endfmt'];
$mail_data['st_date_time'] = getDisplayDate($_REQUEST['date_start'])." ".$start_hour;
$mail_data['end_date_time']=getDisplayDate($_REQUEST['due_date'])." ".$end_hour;
$mail_data['location']=$_REQUEST['location'];
More information about the vtigercrm-commits
mailing list