mirror of
https://github.com/torrentpier/torrentpier
synced 2025-07-05 20:41:41 -07:00
fix(TorrentFileList): Avoid array_merge
reindexing for numeric folder names (#2014)
Co-authored-by: zxc <17812947+metalwarrior88@users.noreply.github.com>
This commit is contained in:
parent
7ac335974b
commit
915e1d817c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class TorrentFileList
|
|||
|
||||
if ($this->multiple) {
|
||||
if (!empty($this->files_ary['/'])) {
|
||||
$this->files_ary = array_merge($this->files_ary, $this->files_ary['/']);
|
||||
$this->files_ary = $this->files_ary + $this->files_ary['/'];
|
||||
unset($this->files_ary['/']);
|
||||
}
|
||||
$filelist = $html->array2html($this->files_ary);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue