public static function FeedImport::processHTMLPageValidate in Feed Import 7.2
Callback for validating processHTMLPAge settings
File
- ./
feed_import.inc.php, line 1249 - Feed import class for parsing and processing content.
Class
- FeedImport
- @file Feed import class for parsing and processing content.
Code
public static function processHTMLPageValidate($field, $value, $default = NULL) {
if ($field == 'report_html_errors') {
if ($value != 0 && $value != 1) {
return $default;
}
}
return $value;
}