Make check for URL more explicit

pull/1/head
phl0 10 years ago
parent d885444f95
commit e8a19b40dd
No known key found for this signature in database
GPG Key ID: 48EA1E640798CA9A

@ -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 {

Loading…
Cancel
Save

Powered by TurnKey Linux.