forked from ZwiiCMS-Team/ZwiiCampus
fix erreur activation de l'accueil sur un effacement de cours
This commit is contained in:
parent
0b2624f986
commit
deacb3e560
@ -248,7 +248,7 @@ class course extends common
|
|||||||
// Suppression
|
// Suppression
|
||||||
} else {
|
} else {
|
||||||
// Active l'accueil
|
// Active l'accueil
|
||||||
self::$siteContent = 'home';
|
$_SESSION['ZWII_SITE_CONTENT'] = 'home';
|
||||||
|
|
||||||
// ET efface la structure
|
// ET efface la structure
|
||||||
if (is_dir(self::DATA_DIR . $courseId)) {
|
if (is_dir(self::DATA_DIR . $courseId)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user