From b1007c337b3c38188efe8562bd0f17376b299fb9 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 23 Oct 2001 10:39:03 +0000 Subject: [PATCH] Was keeping any previous owner/date stored from earlier access to the calendar as today's date and last selected owner. --- calendar/inc/hook_home.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/hook_home.inc.php b/calendar/inc/hook_home.inc.php index 6dd3870ae3..b25289c323 100755 --- a/calendar/inc/hook_home.inc.php +++ b/calendar/inc/hook_home.inc.php @@ -26,6 +26,7 @@ { $time = time() - ((60*60) * intval($GLOBALS['phpgw_info']['user']['preferences']['common']['tz_offset'])); $GLOBALS['date'] = $GLOBALS['phpgw']->common->show_date($time,'Ymd'); + $GLOBALS['owner'] = $GLOBALS['phpgw_info']['user']['account_id']; $cal = CreateObject('calendar.uicalendar'); $extra_data = "\n".''."\n".'
' . $cal->mini_calendar(