fix issues + tag sort

This commit is contained in:
xiaomlove
2025-05-12 16:46:01 +07:00
parent 8b2c6cea2f
commit cc9d0969cc
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ HEAD;
}
public function renderOnUploadPage($torrentId = 0, $searchBoxId)
public function renderOnUploadPage($torrentId, $searchBoxId)
{
$searchBox = NexusDB::getOne('searchbox', "id = $searchBoxId");
if (empty($searchBox)) {
+1 -1
View File
@@ -177,7 +177,7 @@ class Imdb
$temp .= $ak["title"].$ak["year"]. ($ak["country"] != "" ? " (".$ak["country"].")" : "") . ($ak["comment"] != "" ? " (" . $ak["comment"] . ")" : "") . ", ";
}
$autodata .= rtrim(trim($temp), ",");
$runtimes = str_replace(" min",$lang_details['text_mins'], $movie->runtime());
$runtimes = str_replace(" min",$lang_details['text_mins'], $movie->runtime() ?? '');
$autodata .= "<br />\n<strong><font color=\"DarkRed\">".$lang_details['text_year']."</font></strong>" . "".$movie->year ()."<br />\n";
$autodata .= "<strong><font color=\"DarkRed\">".$lang_details['text_runtime']."</font></strong>".$runtimes."<br />\n";
$autodata .= "<strong><font color=\"DarkRed\">".$lang_details['text_votes']."</font></strong>" . "".$movie->votes ()."<br />\n";