diff --git a/calendar/inc/class.boholiday.inc.php b/calendar/inc/class.boholiday.inc.php index af658170d5..add4bc7423 100755 --- a/calendar/inc/class.boholiday.inc.php +++ b/calendar/inc/class.boholiday.inc.php @@ -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']) {