fix TechnicalInformation

This commit is contained in:
xiaomlove
2021-06-14 13:16:21 +08:00
parent 0f84c7cd5a
commit 8f40c30cdf
3 changed files with 15 additions and 15 deletions

View File

@@ -3075,19 +3075,19 @@ function torrenttable($rows, $variant = "torrent") {
$imdb = new Nexus\Imdb\Imdb();
$torrent = new Nexus\Torrent\Torrent();
$torrentSeedingLeechingStatus = $torrent->listLeechingSeedingStatus($CURUSER['id'], array_column($rows, 'id'));
if ($variant == "torrent"){
$last_browse = $CURUSER['last_browse'];
$sectiontype = $browsecatmode;
}
elseif($variant == "music"){
$last_browse = $CURUSER['last_music'];
$sectiontype = $specialcatmode;
}
else{
$last_browse = $CURUSER['last_browse'];
$sectiontype = "";
}
$last_browse = $CURUSER['last_browse'];
// if ($variant == "torrent"){
// $last_browse = $CURUSER['last_browse'];
// $sectiontype = $browsecatmode;
// }
// elseif($variant == "music"){
// $last_browse = $CURUSER['last_music'];
// $sectiontype = $specialcatmode;
// }
// else{
// $last_browse = $CURUSER['last_browse'];
// $sectiontype = "";
// }
$time_now = TIMENOW;
if ($last_browse > $time_now) {