mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Fixed broken searching of attachments via ACP (#1431)
* Fixed broken searching of attachments via ACP * Update CHANGELOG.md
This commit is contained in:
parent
4b486e377e
commit
b952ec7158
2 changed files with 2 additions and 1 deletions
|
@ -441,7 +441,7 @@ if ($view === 'attachments') {
|
|||
$hidden_field = '<input type="hidden" name="attach_id_list[]" value="' . (int)$attachments[$i]['attach_id'] . '" />';
|
||||
|
||||
$template->assign_block_vars('attachrow', [
|
||||
'ROW_NUMBER' => $i + ($_GET['start'] + 1),
|
||||
'ROW_NUMBER' => $i + (@$_GET['start'] + 1),
|
||||
'ROW_CLASS' => $row_class,
|
||||
|
||||
'FILENAME' => htmlspecialchars($attachments[$i]['real_filename']),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue