mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-21 17:28:31 -05:00
Fix free leech amount when featured
Set free to be 100 if the torrent is featured using the api
This commit is contained in:
@@ -150,7 +150,7 @@ class TorrentController extends BaseController
|
||||
|
||||
// Set freeleech and doubleup if featured
|
||||
if ($torrent->featured == 1) {
|
||||
$torrent->free = '1';
|
||||
$torrent->free = '100';
|
||||
$torrent->doubleup = '1';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user