Skip to content

Commit 3d42db6

Browse files
authored
Merge pull request #372 from magefan/termos008-5033-1132-blog-issue
Update Collection.php
2 parents 78f951d + 230b659 commit 3d42db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/ResourceModel/Post/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public function addSearchFilter($term)
334334
}
335335
}
336336

337-
if (count($tagPostIds)) {
337+
if ($tagPostIdsCount = count($tagPostIds)) {
338338
$this->addFieldToFilter(
339339
['title', 'short_content', 'content', 'post_id'],
340340
[

0 commit comments

Comments
 (0)