From d78c726d9b869df640a2c66c1e934bc7c84a37b2 Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Fri, 21 Feb 2025 10:23:46 -0700 Subject: [PATCH] Fix call forward show all button (#7267) --- app/call_forward/call_forward.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/call_forward/call_forward.php b/app/call_forward/call_forward.php index 91e7d5f156..45c6c2abbd 100644 --- a/app/call_forward/call_forward.php +++ b/app/call_forward/call_forward.php @@ -241,7 +241,7 @@ } } if ($show !== 'all' && permission_exists('call_forward_all')) { - echo button::create(['type' => 'button', 'label' => $text['button-show_all'], 'icon' => $_SESSION['theme']['button_icon_all'], 'link' => '?show=all' . $param]); + echo button::create(['type' => 'button', 'label' => $text['button-show_all'], 'icon' => $_SESSION['theme']['button_icon_all'], 'link' => '?show=all' . (!empty($params) ? '&'.implode('&', $params) : null)]); } echo "