Escape the $ in the domain_uuid variable.

This commit is contained in:
markjcrane
2015-08-05 18:17:39 -05:00
parent 9110c877e7
commit 752c54d05c
13 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
$apps[$x]['destinations'][$y]['name'] = "gateways";
$apps[$x]['destinations'][$y]['sql'] = "select g.gateway_uuid as uuid, g.gateway as name, d.domain_name from v_gateways as g ";
$apps[$x]['destinations'][$y]['sql'] .= "inner join v_domains as d on g.domain_uuid = d.domain_uuid ";
$apps[$x]['destinations'][$y]['where'] = "where g.domain_uuid = '${domain_uuid}' and g.enabled = 'true' ";
$apps[$x]['destinations'][$y]['where'] = "where g.domain_uuid = '\${domain_uuid}' and g.enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "gateway asc";
$apps[$x]['destinations'][$y]['field']['uuid'] = "gateway_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "gateway";