From 057b5f7dd801053e73276b2a7699842e262f76fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 8 Jan 2025 22:46:15 +0100 Subject: [PATCH] Bug de redirection --- core/class/router.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/router.class.php b/core/class/router.class.php index 7984def..0f12e2b 100644 --- a/core/class/router.class.php +++ b/core/class/router.class.php @@ -552,7 +552,7 @@ class core extends common and $this->getData(['course', self::$siteContent, 'enrolment']) > 0 ) { $_SESSION['ZWII_SITE_CONTENT'] = 'home'; - header(header: 'Location:' . helper::baseUrl(true) . 'swap/' . self::$siteContent); + header('Location:' . helper::baseUrl(true) . 'swap/' . self::$siteContent); exit(); } }