BugFix [master] outbound_caller_id_select cache issue (#2602)
retrieve the correct items to feed to cache->delete
This commit is contained in:
parent
d53fd72998
commit
e51a7bf3e3
|
|
@ -108,7 +108,7 @@
|
||||||
//clear the cache
|
//clear the cache
|
||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
foreach($_SESSION['user']['extension'] as $field) {
|
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
|
//set the message
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue