purge the "-"  if the reapter/hotspot call has no suffix. (YSF)
pull/122/head
LX1IQ 7 years ago committed by SASANO Takayoshi
parent 368e4ecd1f
commit 92047be420

@ -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';

Loading…
Cancel
Save

Powered by TurnKey Linux.