[Vtigercrm-commits] [vtiger-commits] r5949 - /vtigercrm/trunk/modules/Calendar/Appointment.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 14 04:20:07 EDT 2006


Author: saraj
Date: Sun May 14 02:20:03 2006
New Revision: 5949

Log:
changes made to get activities list for weekview

Modified:
    vtigercrm/trunk/modules/Calendar/Appointment.php

Modified: vtigercrm/trunk/modules/Calendar/Appointment.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/Appointment.php (original)
+++ vtigercrm/trunk/modules/Calendar/Appointment.php Sun May 14 02:20:03 2006
@@ -66,7 +66,7 @@
                 {
                         $obj = &new Appointment();
                         $result = $adb->fetchByAssoc($r);
-                        //echo '<pre>' print_r($result);echo '</pre>';
+                        //echo '<pre>'; print_r($result);echo '</pre>';
                         $obj->readResult($result, $view);
 			//$list_arr[$obj->record] = $obj;
                         $a++;
@@ -180,7 +180,7 @@
 			$this->image_name = 'Meetings.gif';
 		}
                 $this->record            = $act_array["activityid"];
-		if($view == 'day')
+		if($view == 'day' || $view == 'week')
 			$this->formatted_datetime= $act_array["date_start"].":".$st_hour;
 		else
 			$this->formatted_datetime= $act_array["date_start"];





More information about the vtigercrm-commits mailing list