From 2d19f5f1779663e206bffe058ca26e7ea4615d10 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 15 Oct 2017 15:56:06 -0600 Subject: [PATCH] Update call_recordings.php --- app/call_recordings/call_recordings.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/call_recordings/call_recordings.php b/app/call_recordings/call_recordings.php index e977989ed7..c3719d7328 100644 --- a/app/call_recordings/call_recordings.php +++ b/app/call_recordings/call_recordings.php @@ -237,14 +237,15 @@ //echo " \n"; //echo " \n"; //echo " ".$text['label-download']." ".$v_link_label_download."\n"; - - //if (permission_exists('recording_play')) { - echo ""; - echo "".$v_link_label_play.""; - //} - //if (permission_exists('recording_download')) { - echo "".$v_link_label_download.""; - //} + if (file_exists($row['call_recording_path'].'/'.$row['call_recording_name'])) { + //if (permission_exists('recording_play')) { + echo ""; + echo "".$v_link_label_play.""; + //} + //if (permission_exists('recording_download')) { + echo "".$v_link_label_download.""; + //} + } echo " \n"; //echo " \n"; //echo " ".$text['label-download']." ".$v_link_label_download."\n";