Skip to content

Commit 230b659

Browse files
authored
Update Collection.php
1 parent 78f951d commit 230b659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/ResourceModel/Post/Collection.php

Lines changed: 1 addition & 1 deletion
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)