From 72a5ce4d2d6bc0ec0e72bbfb76487e4761f292c5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 20 Nov 2019 09:05:10 -0700 Subject: [PATCH] Update fax_files.php --- app/fax/fax_files.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/fax/fax_files.php b/app/fax/fax_files.php index 29e890b880..4cef95bc94 100644 --- a/app/fax/fax_files.php +++ b/app/fax/fax_files.php @@ -183,7 +183,7 @@ //prepare to page the results $rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50; - $param = "&id=".$_GET['id']."&box=".$_GET['box']."&order_by=".$_GET['order_by']."&order=".$_GET['order']; + $param = "&id=".$fax_uuid."&box=".$_GET['box']."&order_by=".$_GET['order_by']."&order=".$_GET['order']; $page = $_GET['page']; if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; } list($paging_controls, $rows_per_page, $var3) = paging($num_rows, $param, $rows_per_page); @@ -223,14 +223,14 @@ //show the fax files echo "\n"; echo "\n"; - echo th_order_by('fax_caller_id_name', $text['label-fax_caller_id_name'], $order_by, $order, "&id=".$_GET['id']."&box=".$_GET['box']."&page=".$_GET['page']); - echo th_order_by('fax_caller_id_number', $text['label-fax_caller_id_number'], $order_by, $order, "&id=".$_GET['id']."&box=".$_GET['box']."&page=".$_GET['page']); + echo th_order_by('fax_caller_id_name', $text['label-fax_caller_id_name'], $order_by, $order, "&id=".$fax_uuid."&box=".$_GET['box']."&page=".$_GET['page']); + echo th_order_by('fax_caller_id_number', $text['label-fax_caller_id_number'], $order_by, $order, "&id=".$fax_uuid."&box=".$_GET['box']."&page=".$_GET['page']); if ($_REQUEST['box'] == 'sent') { - echo th_order_by('fax_destination', $text['label-fax_destination'], $order_by, $order, "&id=".$_GET['id']."&box=".$_GET['box']."&page=".$_GET['page']); + echo th_order_by('fax_destination', $text['label-fax_destination'], $order_by, $order, "&id=".$fax_uuid."&box=".$_GET['box']."&page=".$_GET['page']); } echo "\n"; echo "\n"; - echo th_order_by('fax_date', $text['label-fax_date'], $order_by, $order, "&id=".$_GET['id']."&box=".$_GET['box']."&page=".$_GET['page']); + echo th_order_by('fax_date', $text['label-fax_date'], $order_by, $order, "&id=".$fax_uuid."&box=".$_GET['box']."&page=".$_GET['page']); echo "\n"; echo "\n"; if (is_array($fax_files) && @sizeof($fax_files) != 0) { @@ -324,10 +324,10 @@ } echo " \n"; echo " \n"; echo "\n";
".$text['table-file']."".$text['table-view']." 
\n"; if ($_REQUEST['box'] == 'inbox' && permission_exists('fax_inbox_view')) { - echo " \n"; + echo " \n"; } if ($_REQUEST['box'] == 'sent' && permission_exists('fax_sent_view')) { - echo " \n"; + echo " \n"; } echo " $file_name"; echo " "; @@ -341,10 +341,10 @@ } if (file_exists($dir_fax.'/'.$file_name.".pdf")) { if ($_REQUEST['box'] == 'inbox' && permission_exists('fax_inbox_view')) { - echo " PDF\n"; + echo " PDF\n"; } if ($_REQUEST['box'] == 'sent' && permission_exists('fax_sent_view')) { - echo " PDF\n"; + echo " PDF\n"; } } else { @@ -356,7 +356,7 @@ echo " ".$fax_date." "; if (permission_exists('fax_file_delete')) { - echo "$v_link_label_delete"; + echo "$v_link_label_delete"; } echo "