Signed-off-by: IgorA100 <igora100@gmail.com>
This commit is contained in:
IgorA100 2024-01-21 16:18:24 +03:00 committed by Benjamin Brahmer
parent 2f6118e818
commit 4f5cf492ae
1 changed files with 3 additions and 4 deletions

View File

@ -186,11 +186,10 @@ class FeedMapperV2 extends NewsMapperV2
},
$this->db->executeQuery($idBuilder->getSQL(), $idBuilder->getParameters())->fetchAll()
);
$chunked_idList = array_chunk($idList,65500);
$chunked_idList = array_chunk($idList, 65500);
$res = 0;
foreach ($chunked_idList as $idList_chunk)
{
foreach ($chunked_idList as $idList_chunk) {
$time = new Time();
$builder = $this->db->getQueryBuilder();
$builder->update(ItemMapperV2::TABLE_NAME)