Update src/Model/Post/Engagement.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2023-09-18 03:00:42 +02:00 committed by GitHub
parent 2b5b5eab4e
commit 6d0a4da888
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,6 +70,7 @@ class Engagement
foreach (array_column(Tag::getByURIId($item['parent-uri-id'], [Tag::HASHTAG]), 'name') as $tag) { foreach (array_column(Tag::getByURIId($item['parent-uri-id'], [Tag::HASHTAG]), 'name') as $tag) {
if (in_array($tag, $tagList)) { if (in_array($tag, $tagList)) {
$store = true; $store = true;
break;
} }
} }
} }