From a73ffd731deea1ec582e5412de7650b2b0efa23d Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Thu, 16 Nov 2017 18:04:23 +0300 Subject: [PATCH] Fix. Dialplan may loose its app_uuid (#2910) When in dialplan edit form press `XML` and then `Back` Fusion build wrong URL like `&?app_uuid` so if then press save server will do not get this arg and change it. --- app/dialplans/dialplan_xml.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dialplans/dialplan_xml.php b/app/dialplans/dialplan_xml.php index e311fbaf12..17f59b9c6f 100644 --- a/app/dialplans/dialplan_xml.php +++ b/app/dialplans/dialplan_xml.php @@ -107,7 +107,7 @@ messages::add($text['message-update']); //redirect the user - header("Location: dialplan_edit.php?id=".$dialplan_uuid."&".((strlen($app_uuid) > 0) ? "?app_uuid=".$app_uuid : null)); + header("Location: dialplan_edit.php?id=".$dialplan_uuid."&".((strlen($app_uuid) > 0) ? "app_uuid=".$app_uuid : null)); exit; } @@ -129,7 +129,7 @@ echo" ".$text['title-dialplan_edit']."
\n"; echo " \n"; echo " \n"; - echo " 0) ? "?app_uuid=".$app_uuid : null)."';\" value='".$text['button-back']."'>\n"; + echo " 0) ? "app_uuid=".$app_uuid : null)."';\" value='".$text['button-back']."'>\n"; echo " \n"; echo " \n"; echo " \n";