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 "