Skip to content

Commit 9863398

Browse files
committed
fix takeupload extra no torrent_id
1 parent 2ef6fc3 commit 9863398

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/takeupload.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ function checkTorrentDict($dict, $key, $type = null)
441441
foreach ($filelist as $file) {
442442
@sql_query("INSERT INTO files (torrent, filename, size) VALUES ($id, ".sqlesc($file[0]).",".$file[1].")");
443443
}
444+
$extra['torrent_id'] = $id;
444445
\App\Models\TorrentExtra::query()->create($extra);
445446

446447
//===add karma

0 commit comments

Comments
 (0)