mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
parent
8f5a1d2bcc
commit
f42627c89f
@ -211,7 +211,10 @@ class iSchedule
|
||||
while ( count ( $parts ) >= $len )
|
||||
{
|
||||
$r = dns_get_record ( '_ischedules._tcp.' . implode ( '.', $parts ) , DNS_SRV );
|
||||
if ( 0 < count ( $r ) )
|
||||
if ($r == false)
|
||||
{
|
||||
$r = Array();
|
||||
}
|
||||
{
|
||||
$remote_server = $r [ 0 ] [ 'target' ];
|
||||
$remote_port = $r [ 0 ] [ 'port' ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user