Fix the follow me form so that it will save

This commit is contained in:
Mark Crane
2014-08-14 06:43:31 +00:00
parent 2c70b22746
commit 5d02de2c02
2 changed files with 9 additions and 8 deletions
+3 -2
View File
@@ -110,7 +110,7 @@ include "root.php";
$sql = "update v_follow_me set ";
$sql .= "follow_me_enabled = '$this->follow_me_enabled', ";
$sql .= "cid_name_prefix = '$this->cid_name_prefix', ";
$sql .= "cid_number_prefix = '$this->cid_number_prefix', ";
$sql .= "cid_number_prefix = '$this->cid_number_prefix' ";
$sql .= "where domain_uuid = '$this->domain_uuid' ";
$sql .= "and follow_me_uuid = '$this->follow_me_uuid' ";
$db->exec(check_sql($sql));
@@ -147,10 +147,10 @@ include "root.php";
$sql .= "'$this->destination_data_1', ";
$sql .= "'$this->destination_timeout_1', ";
$sql .= "'$this->destination_delay_1', ";
$sql .= "'$this->destination_delay_1', ";
$sql .= "'$this->destination_prompt_1', ";
$sql .= "'1' ";
$sql .= ")";
//echo $sql.";<br/>";
$db->exec(check_sql($sql));
$this->destination_order++;
unset($sql);
@@ -178,6 +178,7 @@ include "root.php";
$sql .= "'$this->destination_prompt_2', ";
$sql .= "'2' ";
$sql .= ")";
//echo $sql.";<br/>";
$db->exec(check_sql($sql));
$this->destination_order++;
unset($sql);