Bug de redirection
This commit is contained in:
parent
384dc2503b
commit
057b5f7dd8
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user