From 8561f4ec48219e92d44829b69c94e341f217e2bf Mon Sep 17 00:00:00 2001 From: Mafoo Date: Fri, 26 May 2017 16:18:21 +0100 Subject: [PATCH] BugFix [master] outbound_caller_id_select cache issue (#2602) retrieve the correct items to feed to cache->delete --- app/extensions/extension_dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/extension_dashboard.php b/app/extensions/extension_dashboard.php index df8193895e..368ae7adab 100644 --- a/app/extensions/extension_dashboard.php +++ b/app/extensions/extension_dashboard.php @@ -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