Ignore:
Timestamp:
Jun 11, 2022 11:15:06 PM (2 years ago)
Author:
anonymous
Message:

Minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Validator.inc.php

    r769 r770  
    348348        }
    349349
    350         if ($strict && getmxrr('checkdnsrr', $hosts_notused) && !getmxrr($domain)) {
     350        if ($strict && function_exists('getmxrr') && !getmxrr($domain, $hosts_notused)) {
    351351            // Strict tests: check if MX record exists.
    352352            $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
Note: See TracChangeset for help on using the changeset viewer.