瀏覽代碼

Complete the sql string.

markjcrane 10 年之前
父節點
當前提交
bea8af20c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/domain_settings/domain_setting_edit.php

+ 1 - 1
core/domain_settings/domain_setting_edit.php

@@ -116,7 +116,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
 						$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
 						$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
 						$sql .= "and dialplan_detail_tag = 'action' ";
 						$sql .= "and dialplan_detail_tag = 'action' ";
 						$sql .= "and dialplan_detail_type = 'set' ";
 						$sql .= "and dialplan_detail_type = 'set' ";
-						$sql .= "and dialplan_detail_data like 'timezone=%';
+						$sql .= "and dialplan_detail_data like 'timezone=%' ";
 						$prep_statement = $db->prepare(check_sql($sql));
 						$prep_statement = $db->prepare(check_sql($sql));
 						$prep_statement->execute();
 						$prep_statement->execute();
 						$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
 						$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);