Skip to content

Commit

Permalink
Fix: Notice $servers fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Nov 25, 2020
1 parent 4475e95 commit 2515e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cleantalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ private function get_servers_ip($host)
if (!isset($host))
return null;

$servers = array();

// Get DNS records about URL
if (function_exists('dns_get_record')) {
$records = dns_get_record($host, DNS_A);
Expand Down

0 comments on commit 2515e28

Please sign in to comment.