From d27957676e85b69fac20782bc2024a28b09ee2c5 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Fri, 23 Aug 2019 12:11:21 -0600 Subject: [PATCH] Update destinations.php (#4453) * Update destinations.php * Update destinations.php --- app/destinations/destinations.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index 07a48e43f0..5008a4b74b 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): @@ -236,7 +236,9 @@ } echo th_order_by('destination_type', $text['label-destination_type'], $order_by, $order, $param); echo th_order_by('destination_number', $text['label-destination_number'], $order_by, $order, $param); - echo "". $text['label-detail_action'].""; + if (!$_GET['show'] == "all") { + echo "". $text['label-detail_action'].""; + } if (permission_exists("destination_context")) { echo th_order_by('destination_context', $text['label-destination_context'], $order_by, $order, $param); } @@ -280,7 +282,9 @@ } echo " ".escape($row['destination_type'])." \n"; echo " ".escape(format_phone($row['destination_number']))." \n"; - echo " ".$action_name." \n"; + if (!$_GET['show'] == "all") { + echo " ".$action_name." \n"; + } //echo " ".$row['destination_number_regex']." \n"; if (permission_exists("destination_context")) { echo " ".escape($row['destination_context'])." \n";