Skip to content

Commit c67e920

Browse files
authored
Use array_values before array merge (#32371)
1 parent 9a57d95 commit c67e920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/com_finder/src/Model/SearchModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ protected function getListQuery()
286286
return $query;
287287
}
288288

289-
$included = call_user_func_array('array_merge', $this->includedTerms);
289+
$included = call_user_func_array('array_merge', array_values($this->includedTerms));
290290
$query->join('INNER', $this->_db->quoteName('#__finder_links_terms') . ' AS m ON m.link_id = l.link_id')
291291
->where('m.term_id IN (' . implode(',', $included) . ')');
292292

0 commit comments

Comments
 (0)