From 3bae8c3a00f6f087d5da18d443b1edfbc824caa0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 11 Nov 2005 23:06:34 +0000 Subject: [PATCH] fix for referer under etemplate --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 715bbb3b4d..6c0ff37407 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -2097,7 +2097,7 @@ $parts = explode($GLOBALS['egw_info']['server']['webserver_url'],$referer); - $referer = array_pop($parts); + $referer = str_replace('/etemplate/process_exec.php','/index.php',array_pop($parts)); if (empty($referer)) $referer = $default;