diff --git a/calendar/inc/class.holidaycalc.inc.php b/calendar/inc/class.holidaycalc.inc.php index 8311f3c53e..4491f36390 100755 --- a/calendar/inc/class.holidaycalc.inc.php +++ b/calendar/inc/class.holidaycalc.inc.php @@ -13,13 +13,13 @@ /* $Id$ */ - if (empty($phpgw_info['user']['preferences']['common']['country'])) + if (empty($GLOBALS['phpgw_info']['user']['preferences']['common']['country'])) { $rule = 'US'; } else { - $rule = $phpgw_info['user']['preferences']['common']['country']; + $rule = $GLOBALS['phpgw_info']['user']['preferences']['common']['country']; } $calc_include = PHPGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_'.$rule.'.inc.php';