mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
qsearch_results should change the ids of the result set, otherwise the changed_results will be overwritten by the following code during permission checks
This commit is contained in:
committed by
Pierrick Le Gall
parent
dd44d0e409
commit
c36ca8712d
@@ -1427,7 +1427,7 @@ function get_quick_search_results_no_cache($q, $options)
|
||||
|
||||
$search_results['qs']['matching_tags'] = $qsr->all_tags;
|
||||
$search_results['qs']['matching_cats'] = $qsr->all_cats;
|
||||
$search_results = trigger_change('qsearch_results', $search_results, $expression, $qsr);
|
||||
$ids = trigger_change('qsearch_results', $ids, $expression, $qsr);
|
||||
|
||||
global $template;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user