mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
recover ptGen
This commit is contained in:
@@ -353,13 +353,14 @@ $insert = [
|
||||
'cache_stamp' => time(),
|
||||
];
|
||||
/**
|
||||
* migrate to extra table and remove pt_gen field
|
||||
* migrate to extra table
|
||||
* @since 1.9
|
||||
*/
|
||||
$extra = [
|
||||
'descr' => $descr,
|
||||
'media_info' => $_POST['technical_info'] ?? '',
|
||||
'nfo' => $nfo,
|
||||
'pt_gen' => $_POST['pt_gen'] ?? '',
|
||||
];
|
||||
if (isset($_POST['hr'][$catmod]) && isset(\App\Models\Torrent::$hrStatus[$_POST['hr'][$catmod]]) && user_can('torrent_hr')) {
|
||||
$insert['hr'] = $_POST['hr'][$catmod];
|
||||
|
||||
Reference in New Issue
Block a user