Update dialplan_edit.php

This commit is contained in:
agree 2020-11-05 17:56:17 -05:00 committed by GitHub
parent 6770d15b3c
commit 9708c482fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@
//clear the cache
$cache = new cache;
if ($dialplan_context == "\${domain_name}") {
if ($dialplan_context == "\${domain_name}" or $dialplan_context == "global") {
$dialplan_context = "*";
}
$cache->delete("dialplan:".$dialplan_context);