mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-09-28 15:56:34 -04:00
db v2.4.0
purge the "-" if the reapter/hotspot call has no suffix. (YSF)
This commit is contained in:
parent
f643fc512a
commit
12eebc9011
@ -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…
Reference in New Issue
Block a user