forked from extern/egroupware
Small fix to change case of the locale to upper case.
This commit is contained in:
parent
6c8c6cdcba
commit
8538655d81
@ -68,7 +68,7 @@ class calendar_holiday
|
||||
{
|
||||
// echo "Inserting LOCALE='".$holiday['locale']."' NAME='".$holiday['name']."' extra=(".$holiday['mday'].'/'.$holiday['month_num'].'/'.$holiday['occurence'].'/'.$holiday['dow'].'/'.$holiday['observance_rule'].")<br>\n";
|
||||
$sql = 'INSERT INTO phpgw_cal_holidays(locale,name,mday,month_num,occurence,dow,observance_rule) '
|
||||
. "VALUES('".$holiday['locale']."','".$holiday['name']."',".$holiday['mday'].','.$holiday['month_num'].','.$holiday['occurence'].','.$holiday['dow'].','.intval($holiday['observance_rule']).")";
|
||||
. "VALUES('".strtoupper($holiday['locale'])."','".$holiday['name']."',".$holiday['mday'].','.$holiday['month_num'].','.$holiday['occurence'].','.$holiday['dow'].','.intval($holiday['observance_rule']).")";
|
||||
}
|
||||
$this->db->query($sql,__LINE__,__FILE__);
|
||||
}
|
||||
@ -308,7 +308,6 @@ class calendar_holiday
|
||||
return $holidays;
|
||||
}
|
||||
|
||||
|
||||
function find_date($date)
|
||||
{
|
||||
global $phpgw;
|
||||
|
Loading…
Reference in New Issue
Block a user