diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php index 10cd30b178..21f46582e3 100644 --- a/app/calls/call_edit.php +++ b/app/calls/call_edit.php @@ -383,7 +383,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //redirect the user $_SESSION["message"] = $text['confirm-update']; - header("Location: ".PROJECT_PATH."/core/user_settings/user_dashboard.php"); + header("Location: ".$_REQUEST['return_url']); return; } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) @@ -496,13 +496,15 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //show the content echo "