mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +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