Update call_broadcast_edit.php
This commit is contained in:
parent
0558f7efc1
commit
10f05554fd
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2018
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2019
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -183,7 +183,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
message::add($text['confirm-update']);
|
||||
|
||||
//set return url on error
|
||||
$error_return_url = "call_broadcast_edit.php?id=".$_GET['id'];
|
||||
$error_return_url = "call_broadcast_edit.php?id=".urlencode($_GET['id']);
|
||||
}
|
||||
|
||||
//execute
|
||||
|
|
@ -231,7 +231,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
}
|
||||
|
||||
//pre-populate the form
|
||||
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
|
||||
if (count($_GET) > 0 && $_POST["persistformvar"] != "true") {
|
||||
$call_broadcast_uuid = $_GET["id"];
|
||||
$sql = "select * from v_call_broadcasts ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue