Explorar o código

Complete the sql string.

markjcrane %!s(int64=10) %!d(string=hai) anos
pai
achega
724e9f8065
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);