Changeset 770 for trunk/lib/Validator.inc.php
- Timestamp:
- Jun 11, 2022 11:15:06 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Validator.inc.php
r769 r770 348 348 } 349 349 350 if ($strict && getmxrr('checkdnsrr', $hosts_notused) && !getmxrr($domain)) {350 if ($strict && function_exists('getmxrr') && !getmxrr($domain, $hosts_notused)) { 351 351 // Strict tests: check if MX record exists. 352 352 $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.