forked from extern/egroupware
some sanatizing ;-)
This commit is contained in:
parent
26fd3d2b97
commit
892e1edc89
@ -13,7 +13,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (empty($GLOBALS['egw_info']['user']['preferences']['common']['country']))
|
||||
if (empty($GLOBALS['egw_info']['user']['preferences']['common']['country']) ||
|
||||
strlen($GLOBALS['egw_info']['user']['preferences']['common']['country']) > 2)
|
||||
{
|
||||
$rule = 'US';
|
||||
}
|
||||
@ -31,4 +32,3 @@
|
||||
{
|
||||
include(EGW_INCLUDE_ROOT.'/calendar/inc/class.holidaycalc_US.inc.php');
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user