diff --git a/app/time_conditions/time_condition_add.php b/app/time_conditions/time_condition_add.php
index 076c15ccd9..d8a9a3d0e4 100644
--- a/app/time_conditions/time_condition_add.php
+++ b/app/time_conditions/time_condition_add.php
@@ -1,4 +1,4 @@
-0 && strlen($_POST["persistformvar"]) == 0) {
}
//redirect the browser
- require_once "resources/header.php";
- echo "\n";
- echo "
\n";
- echo "".$text['confirm-update-complete']."\n";
- echo "
\n";
- require_once "resources/footer.php";
+ $_SESSION["message"] = $text['confirm-update-complete'];
+ header("Location: ".PROJECT_PATH."/app/dialplan/dialplans.php?app_uuid=4b821450-926b-175a-af93-a03c441818b1");
return;
} //end if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
@@ -789,13 +785,13 @@ echo "\n";
//echo "\n";
//echo " | \n";
echo "\n";
echo " |