From a235dd11b932218d653779aa2af6b60ac5d2ed11 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 3 Jan 2001 01:51:26 +0000 Subject: [PATCH] remove the track_vars --- calendar/day.php | 1 - calendar/delete.php | 5 ++--- calendar/search.php | 1 - calendar/week.php | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/calendar/day.php b/calendar/day.php index ca681d67b5..804c143ea6 100644 --- a/calendar/day.php +++ b/calendar/day.php @@ -1,4 +1,3 @@ - "calendar", "noheader" => True, "nonavbar" => True, "enable_nextmatchs_class" => True); + $phpgw_info["flags"] = array("currentapp" => "calendar", "noheader" => True, "nonavbar" => True); include("../header.inc.php"); if ($id > 0) { @@ -23,7 +22,7 @@ $thisyear = intval($phpgw->common->show_date($phpgw->db->f("cal_datetime"),"Y")); $thismonth = intval($phpgw->common->show_date($phpgw->db->f("cal_datetime"),"n")); - $phpgw->calendar->delete($id); + $phpgw->calendar->delete(intval($id)); } Header("Location: " . $phpgw->link("index.php","year=$thisyear&month=$thismonth")); diff --git a/calendar/search.php b/calendar/search.php index dd144c717c..3efc47e0aa 100755 --- a/calendar/search.php +++ b/calendar/search.php @@ -1,4 +1,3 @@ -