mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix takeupload extra no torrent_id
This commit is contained in:
@@ -441,6 +441,7 @@ if (!empty($tagIdArr)) {
|
||||
foreach ($filelist as $file) {
|
||||
@sql_query("INSERT INTO files (torrent, filename, size) VALUES ($id, ".sqlesc($file[0]).",".$file[1].")");
|
||||
}
|
||||
$extra['torrent_id'] = $id;
|
||||
\App\Models\TorrentExtra::query()->create($extra);
|
||||
|
||||
//===add karma
|
||||
|
||||
Reference in New Issue
Block a user