mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record.
This commit is contained in:
@@ -255,6 +255,11 @@
|
||||
$cache = new cache;
|
||||
$cache->delete("dialplan:".$call_flow_context);
|
||||
|
||||
//clear the destinations session array
|
||||
if (isset($_SESSION['destinations']['array'])) {
|
||||
unset($_SESSION['destinations']['array']);
|
||||
}
|
||||
|
||||
//redirect the user
|
||||
if (isset($action)) {
|
||||
if ($action == "add") {
|
||||
|
||||
Reference in New Issue
Block a user