mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix for search not properly handling the redirect.
This commit is contained in:
parent
7d5d888c60
commit
9229c742b9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user