Escape the $ for $domain_uuid.

This commit is contained in:
markjcrane
2015-08-06 00:14:46 -05:00
parent b04e958d5b
commit cb31af2fc5
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
$apps[$x]['destinations'][$y]['type'] = "sql";
$apps[$x]['destinations'][$y]['label'] = "conference_centers";
$apps[$x]['destinations'][$y]['name'] = "conference_centers";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '${domain_uuid}' and conference_center_enabled = 'true' ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and conference_center_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "conference_center_name asc";
$apps[$x]['destinations'][$y]['field']['name'] = "conference_center_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "conference_center_extension";

View File

@@ -41,7 +41,7 @@
$apps[$x]['destinations'][$y]['sql']['pgsql'] = "select distinct(unnest(string_to_array(call_group, ','))) as destination from v_extensions ";
$apps[$x]['destinations'][$y]['sql']['sqlite'] = "select distinct(call_group) as destination from v_extensions";
$apps[$x]['destinations'][$y]['sql']['mysql'] = "select distinct(call_group) as destination from v_extensions";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '${domain_uuid}' and call_group <> '' and enabled = 'true' ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and call_group <> '' and enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "destination asc";
$apps[$x]['destinations'][$y]['field']['context'] = "user_context";
$apps[$x]['destinations'][$y]['field']['destination']['name'] = "destination";