Fix pagination, samples and previews

This commit is contained in:
DariusIII
2025-10-05 21:57:23 +02:00
parent a61b2e3803
commit fc56041127
5 changed files with 105 additions and 31 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ class DetailsController extends BasePageController
ReleaseComment::addComment($data['id'], $data['gid'], $request->input('txtAddComment'), $this->userdata->id, $request->ip());
}
$nfo = ReleaseNfo::getReleaseNfo($data['id']);
$nfoData = ReleaseNfo::getReleaseNfo($data['id']);
$nfo = $nfoData ? $nfoData->nfo : null;
$reVideo = $re->getVideo($data['id']);
$reAudio = $re->getAudio($data['id']);
$reSubs = $re->getSubs($data['id']);