[Vtigercrm-commits] [vtiger-commits] r9566 - /vtigercrm/branches/5.0.1/modules/Calendar/CalendarCommon.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 5 09:08:15 EDT 2006


Author: richie
Date: Thu Oct  5 07:08:11 2006
New Revision: 9566

Log:
changes made to fix the issue 2144 --Minnie

Modified:
    vtigercrm/branches/5.0.1/modules/Calendar/CalendarCommon.php

Modified: vtigercrm/branches/5.0.1/modules/Calendar/CalendarCommon.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Calendar/CalendarCommon.php (original)
+++ vtigercrm/branches/5.0.1/modules/Calendar/CalendarCommon.php Thu Oct  5 07:08:11 2006
@@ -182,6 +182,7 @@
 function getTimeCombo($format,$bimode,$hour='',$min='',$fmt='')
 {
 	$combo = '';
+	$min = $min - ($min%5);
 	if($format == 'am/pm')
 	{
 		$combo .= '<select class=small name="'.$bimode.'hr" id="'.$bimode.'hr">';
@@ -298,7 +299,7 @@
 	for($i = 0; $i < $noofrows; $i++)
 	{
 		$value = $adb->query_result($Res,$i,$fieldname);
-		$combo .= '<option value="'.$value.'">'.$mod_strings[$value].'</option>';
+		$combo .= '<option value="'.$value.'">'.$value.'</option>';
 	}
 
 	$combo .= '</select>';





More information about the vtigercrm-commits mailing list