From dbfcf6b1bccf6568facf0cd41899e4ed42331d97 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 23 Aug 2017 20:44:37 -0600 Subject: [PATCH] Update sip_profile_edit.php --- app/sip_profiles/sip_profile_edit.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/sip_profiles/sip_profile_edit.php b/app/sip_profiles/sip_profile_edit.php index a49a4ea692..43a3942af4 100644 --- a/app/sip_profiles/sip_profile_edit.php +++ b/app/sip_profiles/sip_profile_edit.php @@ -158,13 +158,10 @@ $cache = new cache; $cache->delete("configuration:sofia.conf:".$sip_profile_hostname); - //redirect the browser - messages::add($text['message-update']); - header("Location: sip_profiles.php"); - - //save the sip profile xml + //save the sip profile xml save_sip_profile_xml(); - //apply settings reminder + + //apply settings reminder $_SESSION["reload_xml"] = true; //redirect the user