diff --git a/Display.template.php b/Display.template.php index 9365e3a..12cacd6 100644 --- a/Display.template.php +++ b/Display.template.php @@ -41,7 +41,13 @@ function template_main() // Show the page index... "Pages: [1]". // Exclude the "reply" button. $buttons_normal = $context['normal_buttons']; - unset($buttons_normal['reply']); + //unset($buttons_normal['reply']); + // On reprends avec plus de verif : + if (isset($buttons_normal['reply'])) { + unset($buttons_normal['reply']); + } else { + error_log('Attention : La clé "reply" est absente de $buttons_normal.'); + } echo '