Remove and extra line and add creation of the object.
This commit is contained in:
parent
d9415cd597
commit
ea13640bbf
|
|
@ -259,7 +259,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
} //if ($_POST["persistformvar"] != "true")
|
} //if ($_POST["persistformvar"] != "true")
|
||||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||||
|
|
||||||
|
|
||||||
//initialize the destinations object
|
//initialize the destinations object
|
||||||
$destination = new destinations;
|
$destination = new destinations;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
} //if ($_POST["persistformvar"] != "true")
|
} //if ($_POST["persistformvar"] != "true")
|
||||||
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
|
||||||
|
|
||||||
|
//initialize the destinations object
|
||||||
|
$destination = new destinations;
|
||||||
|
|
||||||
//pre-populate the form
|
//pre-populate the form
|
||||||
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
|
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
|
||||||
$ivr_menu_option_uuid = $_GET["id"];
|
$ivr_menu_option_uuid = $_GET["id"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue