change sticky promotion position

This commit is contained in:
xiaomlove
2022-09-15 01:13:14 +08:00
parent babc261779
commit df10de86d2
2 changed files with 5 additions and 1 deletions

View File

@@ -426,8 +426,9 @@ JS;
$rowByRowHtml .= tr($field['label'], $contentFormatted, 1);
}
}
$result = $rowByRowHtml;
if ($shouldRenderMixRow) {
if ($shouldRenderMixRow && $mixedRowContent) {
$result .= tr($displayName, format_comment($mixedRowContent), 1);
}
return $result;

View File

@@ -267,6 +267,9 @@ JS;
print("</td></tr>\n");
// ---------------- end subtitle block -------------------//
//hook before desc
do_action('torrent_detail_before_desc', $row['id'], $CURUSER['id']);
/**************start custom fields****************/
echo $customField->renderOnTorrentDetailsPage($id);