From 6abbf6b2c9c373c3d229566248e15306a31bd79c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 15 Oct 2017 16:00:46 -0600 Subject: [PATCH] Update call_recordings.php --- app/call_recordings/call_recordings.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/call_recordings/call_recordings.php b/app/call_recordings/call_recordings.php index c3719d7328..d0e9f9c51e 100644 --- a/app/call_recordings/call_recordings.php +++ b/app/call_recordings/call_recordings.php @@ -220,7 +220,7 @@ if (is_array($result)) { $x = 0; foreach($result as $row) { - //if (permission_exists('recording_play') && $recording_file_path != '') { + //if (permission_exists('call_recording_play') && $recording_file_path != '') { // echo "\n"; //} if (permission_exists('call_recording_edit')) { @@ -238,13 +238,13 @@ //echo " \n"; //echo " ".$text['label-download']." ".$v_link_label_download."\n"; if (file_exists($row['call_recording_path'].'/'.$row['call_recording_name'])) { - //if (permission_exists('recording_play')) { + if (permission_exists('call_recording_play')) { echo ""; echo "".$v_link_label_play.""; - //} - //if (permission_exists('recording_download')) { + } + if (permission_exists('call_recording_download')) { echo "".$v_link_label_download.""; - //} + } } echo " \n"; //echo " \n";