[Vtigercrm-commits] [vtiger development] #6164: Calendar repeat option is not working properly
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Dec 8 06:38:39 EST 2009
#6164: Calendar repeat option is not working properly
------------------------+---------------------------------------------------
Reporter: nitin | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0-rc
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by pratim):
WORKAROUND: (please make sure to test it completely)
File: include/utils/RecurringType.php
Replace (Around Line No 50)
{{{
if($repeat_arr['sun_flag'])
{
$this->dayofweek_to_rpt[] = 0;
}
if($repeat_arr['mon_flag'])
{
$this->dayofweek_to_rpt[] = 1;
}
if($repeat_arr['tue_flag'])
{
$this->dayofweek_to_rpt[] = 2;
}
if($repeat_arr['wed_flag'])
{
$this->dayofweek_to_rpt[] = 3;
}
if($repeat_arr['thu_flag'])
{
$this->dayofweek_to_rpt[] = 4;
}
if($repeat_arr['fri_flag'])
{
$this->dayofweek_to_rpt[] = 5;
}
if($repeat_arr['sat_flag'])
{
$this->dayofweek_to_rpt[] = 6;
}
}}}
with
{{{
if($repeat_arr['sun_flag'])
{
$this->dayofweek_to_rpt[] = 6;
}
if($repeat_arr['mon_flag'])
{
$this->dayofweek_to_rpt[] = 0;
}
if($repeat_arr['tue_flag'])
{
$this->dayofweek_to_rpt[] = 1;
}
if($repeat_arr['wed_flag'])
{
$this->dayofweek_to_rpt[] = 2;
}
if($repeat_arr['thu_flag'])
{
$this->dayofweek_to_rpt[] = 3;
}
if($repeat_arr['fri_flag'])
{
$this->dayofweek_to_rpt[] = 4;
}
if($repeat_arr['sat_flag'])
{
$this->dayofweek_to_rpt[] = 5;
}
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6164#comment:4>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list