Removed error when submitting entries. Trying to narrow problem with sending email notifications.

This commit is contained in:
skeeter 2001-05-14 03:58:11 +00:00
parent 0cfa7075b0
commit 8361995000

View File

@ -214,7 +214,6 @@
if($datetime_check) if($datetime_check)
{ {
Header('Location: '.$phpgw->link('/calendar/edit_entry.php','readsess='.$event->id.'&cd='.$datetime_check)); Header('Location: '.$phpgw->link('/calendar/edit_entry.php','readsess='.$event->id.'&cd='.$datetime_check));
$phpgw->common->phpgw_exit();
} }
elseif($overlapping_events) elseif($overlapping_events)
{ {
@ -277,6 +276,8 @@
$p->parse('reedit_button','form_button'); $p->parse('reedit_button','form_button');
$p->pparse('out','overlap'); $p->pparse('out','overlap');
$phpgw_info['flags']['nofooter'] = False;
$phpgw->common->phpgw_footer();
} }
else else
@ -285,5 +286,4 @@
$phpgw->calendar->store_event($cal_stream); $phpgw->calendar->store_event($cal_stream);
Header('Location: '.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/index.php','year='.$event->start->year.'&month='.$event->start->month.'&day='.$event->start->mday.'&cd=14&owner='.$owner)); Header('Location: '.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/index.php','year='.$event->start->year.'&month='.$event->start->month.'&day='.$event->start->mday.'&cd=14&owner='.$owner));
} }
$phpgw->common->phpgw_footer();
?> ?>