Bug de redirection

This commit is contained in:
Fred Tempez 2025-01-08 22:46:15 +01:00
parent 384dc2503b
commit 057b5f7dd8

View File

@ -552,7 +552,7 @@ class core extends common
and $this->getData(['course', self::$siteContent, 'enrolment']) > 0 and $this->getData(['course', self::$siteContent, 'enrolment']) > 0
) { ) {
$_SESSION['ZWII_SITE_CONTENT'] = 'home'; $_SESSION['ZWII_SITE_CONTENT'] = 'home';
header(header: 'Location:' . helper::baseUrl(true) . 'swap/' . self::$siteContent); header('Location:' . helper::baseUrl(true) . 'swap/' . self::$siteContent);
exit(); exit();
} }
} }