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(); } }