add technical info i18n

This commit is contained in:
xiaomlove
2021-03-17 19:38:33 +08:00
parent f341901def
commit 17c9ed60aa
9 changed files with 20 additions and 13 deletions

View File

@@ -268,7 +268,7 @@ HEAD;
throw new \RuntimeException("Invalid search box: $browsecatmode");
}
$customValues = $this->listTorrentCustomField($torrentId);
$sql = sprintf('select * from torrents_custom_fields where id in (%s)', $searchBox['custom_fields']);
$sql = sprintf('select * from torrents_custom_fields where id in (%s)', $searchBox['custom_fields'] ?: 0);
$res = sql_query($sql);
$html = '';
while ($row = mysql_fetch_assoc($res)) {