fix data type

This commit is contained in:
ghost 2023-04-25 21:20:35 +03:00
parent 11aa404807
commit e418ddcd32

View File

@ -71,10 +71,10 @@ foreach ($db->getCrawlQueue(CRAWL_PAGE_LIMIT, time() - CRAWL_PAGE_SECONDS_OFFSET
} }
// Get optional page meta data // Get optional page meta data
$metaDescription = null; $metaDescription = '';
$metaKeywords = null; $metaKeywords = '';
$metaRobots = null; $metaRobots = '';
$metaYggo = null; $metaYggo = '';
foreach (@$dom->getElementsByTagName('meta') as $meta) { foreach (@$dom->getElementsByTagName('meta') as $meta) {