[Vtigercrm-commits] [vtiger-commits] r10195 - /vtigercrm/branches/5.0.3/modules/Calendar/Activity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Feb 16 10:46:39 EST 2007
Author: saraj
Date: Fri Feb 16 08:46:36 2007
New Revision: 10195
Log:
Date Not displayed properly when non-admin sync Calendar
Modified:
vtigercrm/branches/5.0.3/modules/Calendar/Activity.php
Modified: vtigercrm/branches/5.0.3/modules/Calendar/Activity.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Calendar/Activity.php (original)
+++ vtigercrm/branches/5.0.3/modules/Calendar/Activity.php Fri Feb 16 08:46:36 2007
@@ -725,11 +725,16 @@
{
$permitted_lists[] = $adb->query_result($result1,$i,'tablename');
$permitted_lists[] = $adb->query_result($result1,$i,'columnname');
- /*if($adb->query_result($result1,$i,'columnname') == "parentid")
+ if($adb->query_result($result1,$i,'columnname') == "date_start")
{
- $permitted_lists[] = 'vtiger_account';
- $permitted_lists[] = 'accountname';
- }*/
+ $permitted_lists[] = 'vtiger_activity';
+ $permitted_lists[] = 'time_start';
+ }
+ if($adb->query_result($result1,$i,'columnname') == "due_date")
+ {
+ $permitted_lists[] = 'vtiger_activity';
+ $permitted_lists[] = 'time_end';
+ }
}
$permitted_lists = array_chunk($permitted_lists,2);
$column_table_lists = array();
More information about the vtigercrm-commits
mailing list