From 9153b18d06b4eb2b0acb208adaef4bc360764d6a Mon Sep 17 00:00:00 2001 From: Kim - DG9VH Date: Wed, 12 Jun 2019 20:01:59 +0200 Subject: [PATCH] Fixing bug with & in name of DXCC An & in the name of a DXCC causes the webserver to ERROR 500. --- application/views/awards/dxcc/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/awards/dxcc/index.php b/application/views/awards/dxcc/index.php index 7f356fdd..3dba19f4 100644 --- a/application/views/awards/dxcc/index.php +++ b/application/views/awards/dxcc/index.php @@ -36,7 +36,7 @@ if ($count == 0){ print(" "); }else{ - printf("%d", $country, $band, $count); + printf("%d", str_replace("&", "%26", $country), $band, $count); } } print("");