Remove and extra line and add creation of the object.

This commit is contained in:
markjcrane
2015-08-07 14:25:49 -05:00
parent d9415cd597
commit ea13640bbf
2 changed files with 3 additions and 1 deletions

View File

@@ -259,7 +259,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//initialize the destinations object
$destination = new destinations;

View File

@@ -138,6 +138,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
} //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
//initialize the destinations object
$destination = new destinations;
//pre-populate the form
if (count($_GET)>0 && $_POST["persistformvar"] != "true") {
$ivr_menu_option_uuid = $_GET["id"];