mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +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;
|
||||
}
|
||||
$sbox =& CreateObject('phpgwapi.sbox');
|
||||
$month = $holiday['month'] ? lang($sbox->monthnames[$holiday['month']]) : '';
|
||||
unset($sbox);
|
||||
$monthnames = array(
|
||||
'','January','February','March','April','May','June',
|
||||
'July','August','September','October','November','December'
|
||||
);
|
||||
$month = $holiday['month'] ? lang($monthnames[$holiday['month']]) : '';
|
||||
|
||||
if (!$holiday['day'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user