[Vtigercrm-commits] [vtiger-commits] r5962 - /vtigercrm/branches/5.0_postgresql_integration/modules/Activities/Activity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 14 11:34:20 EDT 2006
Author: allanbush
Date: Sun May 14 09:34:17 2006
New Revision: 5962
Log:
Fixes problems created by the last sync with trunk. Closes #777.
Modified:
vtigercrm/branches/5.0_postgresql_integration/modules/Activities/Activity.php
Modified: vtigercrm/branches/5.0_postgresql_integration/modules/Activities/Activity.php
==============================================================================
--- vtigercrm/branches/5.0_postgresql_integration/modules/Activities/Activity.php (original)
+++ vtigercrm/branches/5.0_postgresql_integration/modules/Activities/Activity.php Sun May 14 09:34:17 2006
@@ -195,15 +195,6 @@
$header[] = $app_strings['LBL_PHONE'];
- // To display the dates for the Group calendar starts -Jaguar
- $recur_dates_qry='select distinct(recurringdate) from recurringevents where activityid='.$activity_id;
- $recur_result=$adb->query($recur_dates_qry);
- $noofrows_recur = $adb->num_rows($recur_result);
- if($noofrows_recur==0)
- {
- $recur_dates_qry="select activity.date_start,recurringevents.* from activity left outer join recurringevents on activity.activityid=recurringevents.activityid where recurringevents.activityid is NULL and activity.activityid=".$activity_id;
- $recur_result=$adb->query($recur_dates_qry);
- $noofrows_recur = $adb->num_rows($recur_result);
while($row = $adb->fetch_array($result))
{
@@ -243,7 +234,7 @@
$noofrows_recur = $adb->num_rows($recur_result);
if($noofrows_recur==0)
{
- $recur_dates_qry='select activity.date_start,recurringevents.* from activity left outer join recurringevents on activity.activityid=recurringevents.activityid where recurringevents.activityid is NULL and activity.activityid='.$activity_id .' group by activity.activityid';
+ $recur_dates_qry='select activity.date_start,recurringevents.* from activity left outer join recurringevents on activity.activityid=recurringevents.activityid where recurringevents.activityid is NULL and activity.activityid='.$activity_id;
$recur_result=$adb->query($recur_dates_qry);
$noofrows_recur = $adb->num_rows($recur_result);
More information about the vtigercrm-commits
mailing list