[Vtigercrm-commits] [vtiger-commits] r6833 - /vtigercrm/trunk/modules/Calendar/calendarLayout.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed May 31 05:55:06 EDT 2006
Author: saraj
Date: Wed May 31 03:55:01 2006
New Revision: 6833
Log:
shared id has been included for listview in calendar
Modified:
vtigercrm/trunk/modules/Calendar/calendarLayout.php
Modified: vtigercrm/trunk/modules/Calendar/calendarLayout.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/calendarLayout.php (original)
+++ vtigercrm/trunk/modules/Calendar/calendarLayout.php Wed May 31 03:55:01 2006
@@ -975,6 +975,8 @@
$Entries = Array();
global $adb,$current_user,$mod_strings;
$shared_ids = getSharedCalendarId($current_user->id);
+ if(empty($shared_ids))
+ $shared_ids = $current_user->id;
$query = "SELECT cntactivityrel.contactid, activity.*
FROM activity
INNER JOIN crmentity
@@ -1058,6 +1060,8 @@
$Entries = Array();
global $adb,$current_user,$mod_strings;
$shared_ids = getSharedCalendarId($current_user->id);
+ if(empty($shared_ids))
+ $shared_ids = $current_user->id;
$query = "SELECT cntactivityrel.contactid, activity.*
FROM activity
INNER JOIN crmentity
More information about the vtigercrm-commits
mailing list