From 0a8ff6038aad5c942a204e57001d133484ed07b0 Mon Sep 17 00:00:00 2001 From: jengo Date: Fri, 20 Oct 2000 15:47:11 +0000 Subject: [PATCH] Partial fix for preferences on main screen --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 704d2a2a4f..60dc10212e 100755 --- a/index.php +++ b/index.php @@ -70,7 +70,7 @@ } if ($phpgw_info["user"]["permissions"]["email"] - && $phpgw_info["user"]["preferences"]["common"]["mainscreen_showmail"]) { + && $phpgw_info["user"]["preferences"]["email"]["mainscreen_showmail"]) { echo "\n"; $mbox = $phpgw->msg->login(); @@ -92,7 +92,7 @@ } if ($phpgw_info["user"]["permissions"]["addressbook"] - && $phpgw_info["user"]["preferences"]["common"]["mainscreen_showbirthdays"]) { + && $phpgw_info["user"]["preferences"]["addressbook"]["mainscreen_showbirthdays"]) { echo "\n"; $phpgw->db->query("select DISTINCT firstname,lastname from addressbook where " . "bday like '" . $phpgw->common->show_date(time(),"n/d") @@ -122,7 +122,7 @@ // This is disbaled until I can convert the calendar over if ($phpgw_info["user"]["permissions"]["calendar"] - && $phpgw_info["user"]["preferences"]["common"]["mainscreen_showevents"]) { + && $phpgw_info["user"]["preferences"]["calendar"]["mainscreen_showevents"]) { echo "\n"; include($phpgw_info["server"]["server_root"] . "/calendar/inc/functions.inc.php"); $repeated_events = read_repeated_events($phpgw_info["user"]["userid"]);