Added new constant TOR_TYPE_DEFAULT (#1698)

* Added new constant `TOR_TYPE_DEFAULT`

* Update tracker.php

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-12-02 23:43:36 +07:00 committed by GitHub
commit 4382ec514b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 2 deletions

View file

@ -48,7 +48,7 @@ switch ($type) {
$tor_type = TOR_TYPE_GOLD;
$tor_type_lang = $lang['GOLD'];
} else {
$tor_type = 0;
$tor_type = TOR_TYPE_DEFAULT;
$tor_type_lang = "{$lang['UNSET_GOLD_TORRENT']} / {$lang['UNSET_SILVER_TORRENT']}";
}