diff --git a/nexus/Field/Field.php b/nexus/Field/Field.php index b44f69b5..a467dc3b 100644 --- a/nexus/Field/Field.php +++ b/nexus/Field/Field.php @@ -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; diff --git a/public/details.php b/public/details.php index 74831a1d..d3914460 100644 --- a/public/details.php +++ b/public/details.php @@ -267,6 +267,9 @@ JS; print("\n"); // ---------------- end subtitle block -------------------// + //hook before desc + do_action('torrent_detail_before_desc', $row['id'], $CURUSER['id']); + /**************start custom fields****************/ echo $customField->renderOnTorrentDetailsPage($id);