]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
IP WHOIS: return properly if no search
authorValerie Pond <redacted>
Tue, 7 Feb 2023 02:29:46 +0000 (02:29 +0000)
committerValerie Pond <redacted>
Tue, 7 Feb 2023 02:29:46 +0000 (02:29 +0000)
tools/ip-whois.php

index ea76a177bffe2f97d356ee7b9af153a3a4e246e4..b48ea3031c7d1895ed329d87b8b2559c7636ca90 100644 (file)
@@ -83,7 +83,8 @@ if ($ip)
     
     <?php
 }
-
+if (!isset($whois))
+    return;
 ?>
 
 <div class="modal fade" id="ip_whois_raw" tabindex="-1" role="dialog" aria-labelledby="confirmModalCenterTitle" aria-hidden="true">