Skip to content

Commit 08b00fa

Browse files
authored
Merge pull request #229 from aario/master
Update Collection.php
2 parents bb3d1e9 + 6ec14af commit 08b00fa

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
@@ -226,7 +226,7 @@ public function addSearchFilter($term)
226226
'(0
227227
+ FORMAT(MATCH (title, meta_keywords, meta_description, identifier, content) AGAINST ("{{term}}"), 4))',
228228
[
229-
'term' => $term,
229+
'term' => $this->getConnection()->quote($term),
230230
]
231231
);
232232

0 commit comments

Comments
 (0)