diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 7b5fbcbb20..9b02acbda0 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -2328,7 +2328,7 @@ class calendar_uiforms extends calendar_ui } if ($button != 'apply') // end dialog { - egw::redirect_link('/index.php',array('menuaction' => $this->view_menuaction)); + egw::redirect_link('/admin/index.php', null, 'admin'); } } $content['rows'] = $preserv['rows'] = array(); diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 15577f20c2..cb5771f869 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -1175,11 +1175,7 @@ class timesheet_ui extends timesheet_bo if ($button == 'apply') break; // fall-through case 'cancel': - $GLOBALS['egw']->redirect_link('/index.php',array( - 'menuaction' => 'timesheet.timesheet_ui.index', - 'msg' => $msg, - )); - break; + $GLOBALS['egw']->redirect_link('/admin/index.php', null, 'admin'); } } if (isset($content['statis']['delete']))