From 73be5ec01824fa5b34c8482b0bb8b607aa689ad2 Mon Sep 17 00:00:00 2001 From: LX1IQ Date: Wed, 14 Jun 2017 08:03:26 +0200 Subject: [PATCH] bugfix removed error when prefix is not found in the country.csv --- dashboard/pgs/class.reflector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/pgs/class.reflector.php b/dashboard/pgs/class.reflector.php index 4586cba..59e18b0 100755 --- a/dashboard/pgs/class.reflector.php +++ b/dashboard/pgs/class.reflector.php @@ -258,6 +258,7 @@ class xReflector { $Image = ""; $FoundFlag = false; $Letters = 4; + $Name = ""; while (($Letters >= 2) && (!$FoundFlag)) { $j = 0; $Prefix = substr($Callsign, 0, $Letters);