mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Fix search/category change retaining page
This commit is contained in:
parent
4dec28e0bc
commit
b56cc26b16
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ class FDroid
|
|||
|
||||
$out.='<input type="hidden" name="page_id" value="'.(int)get_query_var('page_id').'">';
|
||||
foreach($query_vars as $name => $value) {
|
||||
if($value !== null && $name != 'fdfilter' && !($name == 'fdpage' && (int)$value ==1))
|
||||
if($value !== null && $name != 'fdfilter' && $name != 'fdpage')
|
||||
$out.='<input type="hidden" name="'.$name.'" value="'.sanitize_text_field($value).'">';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue