BugFix [master] outbound_caller_id_select cache issue (#2602)
retrieve the correct items to feed to cache->delete
This commit is contained in:
parent
1ff6bc7ad5
commit
8561f4ec48
|
|
@ -108,7 +108,7 @@
|
|||
//clear the cache
|
||||
$cache = new cache;
|
||||
foreach($_SESSION['user']['extension'] as $field) {
|
||||
$cache->delete("directory:".$_SESSION['user']['destination']."@".$_SESSION['user']['user_context']);
|
||||
$cache->delete("directory:".$field['destination']."@".$field['user_context']);
|
||||
}
|
||||
|
||||
//set the message
|
||||
|
|
|
|||
Loading…
Reference in New Issue