pull/1/head
LX3JL 6 years ago
commit fa62e84a00

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

Loading…
Cancel
Save

Powered by TurnKey Linux.