From f38f7ce547f59d0598a31ccbe8633ce8ad10e1bb Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 22 Mar 2021 11:02:29 +0100 Subject: [PATCH] =?UTF-8?q?Bug=20:=20titre=20de=20page=20de=20maintenance?= =?UTF-8?q?=20non=20cach=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/maintenance/maintenance.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/module/maintenance/maintenance.php b/core/module/maintenance/maintenance.php index 9987e803..d7832c8c 100755 --- a/core/module/maintenance/maintenance.php +++ b/core/module/maintenance/maintenance.php @@ -33,7 +33,9 @@ class maintenance extends common { AND $this->getData(['page',$this->getData(['locale','page302'])]) ) { $this->addOutput([ 'display' => self::DISPLAY_LAYOUT_LIGHT, - 'title' => $this->getData(['page',$this->getData(['locale','page302']),'title']), + 'title' => $this->getData(['page',$this->getData(['locale','page302']),'hideTitle']) + ? '' + : $this->getData(['page',$this->getData(['locale','page302']),'title']), 'content' => $this->getdata(['page',$this->getData(['locale','page302']),'content']), 'view' => 'index' ]);