Fixed call recording download and call center show all (#6745)

This commit is contained in:
Alex
2023-06-06 10:14:15 -06:00
committed by GitHub
parent 21fc42f12a
commit f86abd84c4
6 changed files with 23 additions and 27 deletions

View File

@@ -104,7 +104,7 @@ class cache {
}
//cache method memcache
if ($_SESSION['cache']['method']['text'] == "memcache") {
if (!empty($_SESSION['cache']['method']['text']) && $_SESSION['cache']['method']['text'] == "memcache") {
//connect to event socket
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp === false) {
@@ -128,7 +128,7 @@ class cache {
}
//cache method file
if ($_SESSION['cache']['method']['text'] == "file") {
if (!empty($_SESSION['cache']['method']['text']) && $_SESSION['cache']['method']['text'] == "file") {
//change the delimiter
$key = str_replace(":", ".", $key);