mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Fixed announce-list indexes ordering (#1135)
* Fixed announce-list indexes ordering * Update CHANGELOG.md
This commit is contained in:
parent
85cc06a093
commit
02716090b6
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Fixed announce-list indexes ordering [\#1135](https://github.com/torrentpier/torrentpier/pull/1135) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed $bb_cfg['file_id_ext'] ordering [\#1134](https://github.com/torrentpier/torrentpier/pull/1134) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Normalizing announce-list [\#1133](https://github.com/torrentpier/torrentpier/pull/1133) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Fixed announcer-list issue [\#1129](https://github.com/torrentpier/torrentpier/pull/1129), [\#1130](https://github.com/torrentpier/torrentpier/pull/1130), [\#1131](https://github.com/torrentpier/torrentpier/pull/1131), [\#1132](https://github.com/torrentpier/torrentpier/pull/1132) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
|
|
@ -603,7 +603,7 @@ class Torrent
|
|||
unset($tor['announce-list']);
|
||||
} else {
|
||||
// Normalizing announce-list
|
||||
$tor['announce-list'] = array_unique($tor['announce-list'], SORT_REGULAR);
|
||||
$tor['announce-list'] = array_values(array_unique($tor['announce-list'], SORT_REGULAR));
|
||||
}
|
||||
|
||||
// Add publisher & topic url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue