mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-04 06:59:19 +00:00
Need to escape the $ with the back slash
This commit is contained in:
@@ -101,7 +101,8 @@
|
||||
unset($sql);
|
||||
|
||||
//change dialplan context ${domain_name} to global
|
||||
$sql = "update v_dialplans set dialplan_context = 'global' where dialplan_context = '${domain_name}';\n";
|
||||
$sql = "update v_dialplans set dialplan_context = 'global' ";
|
||||
$sql .= "where dialplan_context = '\${domain_name}';\n";
|
||||
$database->execute($sql);
|
||||
unset($sql);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user