This commit is contained in:
LX3JL 2019-10-22 19:47:05 +02:00
commit fa62e84a00
1 changed files with 7 additions and 2 deletions

View File

@ -239,8 +239,13 @@ class xReflector {
$i = 0;
while ($i < $this->NodeCount()) {
if ($this->Nodes[$i]->GetRandomID() == $RandomId) {
if (trim($this->Nodes[$i]->GetSuffix()) == "") {
return $this->Nodes[$i]->GetCallSign();
}
else {
return $this->Nodes[$i]->GetCallSign().'-'.$this->Nodes[$i]->GetSuffix();
}
}
$i++;
}
return 'N/A';