From 8ba24ef357429e4b5583bb7a89d06f245f6a2856 Mon Sep 17 00:00:00 2001 From: evarisk-francois Date: Fri, 14 Jun 2024 09:31:39 +0200 Subject: [PATCH] #979 [Document] add: use load_fiche_titre when no genallowed --- lib/documents.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/documents.lib.php b/lib/documents.lib.php index d83c9b96..2ac4b817 100644 --- a/lib/documents.lib.php +++ b/lib/documents.lib.php @@ -267,7 +267,7 @@ function saturne_show_documents(string $modulepart, $modulesubdir, $filedir, str // Show title of array if not already shown if ((!empty($fileList) || !empty($link_list) || preg_match('/^massfilesarea/', $modulepart)) && !$headershown) { $headershown = 1; - $out .= '
' . $titletoshow . '
' . "\n"; + $out .= load_fiche_titre($titletoshow, '', '', 0, 'builddoc'); $out .= '
'; $out .= '' . "\n"; }