mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-12-23 01:55:49 -05:00
bugfix
removed error when prefix is not found in the country.csv
This commit is contained in:
parent
6c748e6980
commit
73be5ec018
@ -258,6 +258,7 @@ class xReflector {
|
|||||||
$Image = "";
|
$Image = "";
|
||||||
$FoundFlag = false;
|
$FoundFlag = false;
|
||||||
$Letters = 4;
|
$Letters = 4;
|
||||||
|
$Name = "";
|
||||||
while (($Letters >= 2) && (!$FoundFlag)) {
|
while (($Letters >= 2) && (!$FoundFlag)) {
|
||||||
$j = 0;
|
$j = 0;
|
||||||
$Prefix = substr($Callsign, 0, $Letters);
|
$Prefix = substr($Callsign, 0, $Letters);
|
||||||
|
Loading…
Reference in New Issue
Block a user