1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-12-23 01:55:49 -05:00

Make check for URL more explicit

This commit is contained in:
phl0 2016-08-01 18:04:55 +02:00
parent d885444f95
commit e8a19b40dd
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A

View File

@ -52,7 +52,7 @@ for ($i=0;$i<$Reflector->PeerCount();$i++) {
$URL = $XML->GetElement($Reflectors[$j], "dashboardurl");
}
}
if ($Result && $URL) {
if ($Result && (trim($URL) != "")) {
echo '
<td><a href="'.$URL.'" target="_blank" class="listinglink" title="Visit the Dashboard of&nbsp;'.$Name.'" style="text-decoration:none;color:#000000;">'.$Name.'</a></td>';
} else {