From 8eaf68f5443d889c25899dbf957394f8ea38f0cf Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 20:13:20 +0200 Subject: [PATCH] Fix empty title line display - Add condition to only show description when it's not empty - Prevent empty description lines from being displayed - Clean up configuration page by removing empty title lines - Improve user experience with cleaner interface --- admin/setup_mvp.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/setup_mvp.php b/admin/setup_mvp.php index 83430a7..87ef5fa 100644 --- a/admin/setup_mvp.php +++ b/admin/setup_mvp.php @@ -155,7 +155,9 @@ foreach ($lines_by_section as $section_code => $lines) { // Section header print '
' . $section_info['title'] . '
'; - print '
' . $section_info['description'] . '
'; + if (!empty($section_info['description'])) { + print '
' . $section_info['description'] . '
'; + } if (isset($section_info['notice']) && !empty($section_info['notice'])) { print '
Référence: ' . $section_info['notice'] . '
'; }