From 42e6d4661f4e1bf48b97a731539b007974f74bd5 Mon Sep 17 00:00:00 2001 From: "Laurent Destailleur (aka Eldy)" Date: Sun, 19 Jan 2025 21:10:25 +0100 Subject: [PATCH] Fix regression --- htdocs/core/lib/website.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index 948754ec57a..0b3a20084e2 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -678,10 +678,10 @@ function includeContainer($containerref, $once = 0, $cachedelay = 0) } print $tmpoutput; - } - if (!$res) { - print 'ERROR: FAILED TO INCLUDE PAGE '.$containerref."(once=".$once.")\n"; + if (!$res) { + print 'ERROR: FAILED TO INCLUDE PAGE '.$containerref."(once=".$once.")\n"; + } } $includehtmlcontentopened--;