[svn r13987] Fix a bug with redirection

skala
Julian Prud'homme 18 years ago
parent ab4e388a40
commit 2cd3fee96e
  1. 4
      main/auth/profile.php

@ -1,5 +1,5 @@
<?php
// $Id: profile.php 13901 2007-12-04 04:45:48Z yannoo $
// $Id: profile.php 13987 2007-12-13 09:25:18Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -525,7 +525,7 @@ elseif ($form->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;
}

Loading…
Cancel
Save