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
$metaDescription = null;
$metaKeywords = null;
$metaRobots = null;
$metaYggo = null;
$metaDescription = '';
$metaKeywords = '';
$metaRobots = '';
$metaYggo = '';
foreach (@$dom->getElementsByTagName('meta') as $meta) {