From 2cd3fee96eba695ebf2a671df470ae120ddaef2d Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Thu, 13 Dec 2007 10:25:18 +0100 Subject: [PATCH] [svn r13987] Fix a bug with redirection --- main/auth/profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/auth/profile.php b/main/auth/profile.php index da0644923a..ccfca3e46d 100644 --- a/main/auth/profile.php +++ b/main/auth/profile.php @@ -1,5 +1,5 @@ validate()) $uidReset = true; include (api_get_path(INCLUDE_PATH).'local.inc.php'); $_SESSION['profile_update'] = 'success'; - header("Location: ".api_get_path(WEB_PATH).api_get_self()."?{$_SERVER['QUERY_STRING']}"); + header("Location: ".api_get_self()."?{$_SERVER['QUERY_STRING']}"); exit; }