From 60f72a96054b52510da5dc68d76d7340f099e17c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 Dec 2009 13:29:14 +0000 Subject: [PATCH] "fixed wrong default for referer (used if UA does not send one)" --- calendar/inc/class.calendar_uiforms.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 8ac4f32a3a..09e16cc951 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -790,7 +790,7 @@ class calendar_uiforms extends calendar_ui { $preserv = array( 'no_popup' => isset($_GET['no_popup']), - 'referer' => common::get_referer($this->view_menuaction), + 'referer' => common::get_referer('/index.php?menuaction='.$this->view_menuaction), 'template' => isset($_GET['template']) ? $_GET['template'] : (isset($_REQUEST['print']) ? 'calendar.print' : 'calendar.edit'), ); $cal_id = (int) $_GET['cal_id'];