mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
ptgen not show individual fields on details page
This commit is contained in:
@@ -277,11 +277,7 @@ if (!$row) {
|
||||
|
||||
if (get_setting('main.enable_pt_gen_system') == 'yes' && !empty($row['pt_gen'])) {
|
||||
$ptGen = new \Nexus\PTGen\PTGen();
|
||||
$ptGenResult = $ptGen->renderDetailsPageDescription($id, json_decode($row['pt_gen'], true));
|
||||
if ($ptGenResult['update']) {
|
||||
$torrentUpdate[] = 'pt_gen = ' . sqlesc(json_encode($ptGenResult['json_arr']));
|
||||
}
|
||||
echo $ptGenResult['html'];
|
||||
$ptGen->updateTorrentPtGen($row);
|
||||
}
|
||||
if ($imdb_id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user