diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_utils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_utils.php b/program/include/rcube_utils.php index dfaa9b943..fd5bda676 100644 --- a/program/include/rcube_utils.php +++ b/program/include/rcube_utils.php @@ -134,12 +134,12 @@ class rcube_utils } // find MX record(s) - if (getmxrr($domain_part, $mx_records)) { + if (!function_exists('getmxrr') || getmxrr($domain_part, $mx_records)) { return true; } // find any DNS record - if (checkdnsrr($domain_part, 'ANY')) { + if (!function_exists('checkdnsrr') || checkdnsrr($domain_part, 'ANY')) { return true; } } |