mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixed not working holidays after the old sbox class has been removed from the API
This commit is contained in:
parent
be7cca8a44
commit
56382e2c1a
@ -463,9 +463,11 @@
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$sbox =& CreateObject('phpgwapi.sbox');
|
$monthnames = array(
|
||||||
$month = $holiday['month'] ? lang($sbox->monthnames[$holiday['month']]) : '';
|
'','January','February','March','April','May','June',
|
||||||
unset($sbox);
|
'July','August','September','October','November','December'
|
||||||
|
);
|
||||||
|
$month = $holiday['month'] ? lang($monthnames[$holiday['month']]) : '';
|
||||||
|
|
||||||
if (!$holiday['day'])
|
if (!$holiday['day'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user