BugFix [master] outbound_caller_id_select cache issue (#2602)

retrieve the correct items to feed to cache->delete
This commit is contained in:
Mafoo
2017-05-26 16:18:21 +01:00
committed by FusionPBX
parent d53fd72998
commit e51a7bf3e3

View File

@@ -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