From 5044e863f4e0fd38f1ae7a0cefa88dacb4670064 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 14 Aug 2001 02:20:28 +0000 Subject: [PATCH] Fix for ceb to set the default holidays to US if no country set. --- calendar/inc/class.boholiday.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.boholiday.inc.php b/calendar/inc/class.boholiday.inc.php index cbc55d5a16..59e3ca330d 100755 --- a/calendar/inc/class.boholiday.inc.php +++ b/calendar/inc/class.boholiday.inc.php @@ -235,6 +235,10 @@ { $this->locales[] = $phpgw_info['user']['preferences']['calendar']['locale']; } + else + { + $this->locales[] = 'US'; + } if($this->owner != $phpgw_info['user']['account_id']) {