From 56c376474ff9ea219885c814fa747c7cbbd21023 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 17 Aug 2023 14:10:17 +0300 Subject: [PATCH] fix foreach continue level --- src/crontab/crawler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crontab/crawler.php b/src/crontab/crawler.php index c1b164a..1628913 100644 --- a/src/crontab/crawler.php +++ b/src/crontab/crawler.php @@ -1015,17 +1015,17 @@ foreach ($db->getHostPageCrawlQueue(CRAWL_HOST_PAGE_QUEUE_LIMIT, time() - CRAWL_ if (!isset($value->enabled)) { - continue; + continue 2; } if (false === $value->enabled) { - continue; + continue 2; } if (!isset($value->allowed_tags)) { - continue; + continue 2; } $value = strip_tags($value, $value->allowed_tags);