mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-10-02 01:36:39 -04:00
Make check for URL more explicit
This commit is contained in:
parent
d885444f95
commit
e8a19b40dd
@ -52,7 +52,7 @@ for ($i=0;$i<$Reflector->PeerCount();$i++) {
|
|||||||
$URL = $XML->GetElement($Reflectors[$j], "dashboardurl");
|
$URL = $XML->GetElement($Reflectors[$j], "dashboardurl");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($Result && $URL) {
|
if ($Result && (trim($URL) != "")) {
|
||||||
echo '
|
echo '
|
||||||
<td><a href="'.$URL.'" target="_blank" class="listinglink" title="Visit the Dashboard of '.$Name.'" style="text-decoration:none;color:#000000;">'.$Name.'</a></td>';
|
<td><a href="'.$URL.'" target="_blank" class="listinglink" title="Visit the Dashboard of '.$Name.'" style="text-decoration:none;color:#000000;">'.$Name.'</a></td>';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user