From 9229c742b9912a60814818e6da6c7f1046c01ce2 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 30 Apr 2001 02:19:03 +0000 Subject: [PATCH] Fix for search not properly handling the redirect. --- calendar/search.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/calendar/search.php b/calendar/search.php index fa09680b09..108c4bdf4c 100755 --- a/calendar/search.php +++ b/calendar/search.php @@ -16,20 +16,24 @@ $phpgw_flags = Array( 'currentapp' => 'calendar', - 'enable_nextmatchs_class' => True + 'enable_nextmatchs_class' => True, + 'noheader' => True, + 'nonavbar' => True ); - $phpgw_info['flags'] = $phpgw_flags; - + include('../header.inc.php'); if (! $keywords) { // If we reach this, it is because they didn't search for anything, // attempt to send them back to where they where. - Header('Location: ' . $phpgw->link($from,'month='.$month.'&day='.$day.'&year='.$year)); + Header('Location: ' . $phpgw->link($from,'owner='.$owner.'&month='.$month.'&day='.$day.'&year='.$year)); } - - include('../header.inc.php'); - + else + { + $phpgw->common->phpgw_header(); + echo parse_navbar(); + } + $error = ''; if (strlen($keywords) == 0)