From cb31af2fc5039495b21d134bdf68ef9bdcaebf0a Mon Sep 17 00:00:00 2001 From: markjcrane Date: Thu, 6 Aug 2015 00:14:46 -0500 Subject: [PATCH] Escape the $ for $domain_uuid. --- app/conference_centers/app_config.php | 2 +- app/extensions/app_config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conference_centers/app_config.php b/app/conference_centers/app_config.php index eb89ecd65c..bd9078f5f6 100644 --- a/app/conference_centers/app_config.php +++ b/app/conference_centers/app_config.php @@ -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"; diff --git a/app/extensions/app_config.php b/app/extensions/app_config.php index 8301e94550..15553d64d3 100644 --- a/app/extensions/app_config.php +++ b/app/extensions/app_config.php @@ -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";