Merge pull request #189 from mi-gri/master

Update functions.php
This commit is contained in:
Kim - DG9VH 2019-05-06 15:01:16 +02:00 committed by GitHub
commit 3ca5249540
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -566,10 +566,10 @@ function getLastHeard($logLines, $onlyLast) {
if (defined("SHOWQRZ")) {
$listElem[2] = "<a target=\"_new\" href=\"https://qrz.com/db/$call_canon\">".str_replace("0","&Oslash;",$listElem[2])."</a>";
} else {
$listElem[2] = "<a target=\"_new\" href=\"http://dmr.darc.de/dmr-userreg.php?callsign=$call_canon\">".$listElem[2]."</a>";
$listElem[2] = "<a target=\"_new\" href=\"http://ham-digital.org/dmr-userreg.php?callsign=$call_canon\">".$listElem[2]."</a>";
}
} else {
$listElem[2] = "<a target=\"_new\" href=\"http://dmr.darc.de/dmr-userreg.php?usrid=$listElem[2]\">".$listElem[2]."</a>";
$listElem[2] = "<a target=\"_new\" href=\"http://ham-digital.org/dmr-userreg.php?usrid=$listElem[2]\">".$listElem[2]."</a>";
}
}
array_push($lastHeard, $listElem);