1412 valide le sélecteur d'espace pour les membres éditeurs et admin

This commit is contained in:
Fred Tempez 2024-01-24 17:55:25 +01:00
parent 4fe81830e9
commit e2b0a12824
2 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@ class layout extends common
* Affichage du sélecteur d'espaces * Affichage du sélecteur d'espaces
*/ */
if ( if (
$this->getUser('group') <= self::GROUP_MEMBER $this->getUser('group') >= self::GROUP_MEMBER
&& $this->getData(['theme', 'menu', 'selectSpace']) === true && $this->getData(['theme', 'menu', 'selectSpace']) === true
) { ) {
if ($this->getCoursesByUser()) { if ($this->getCoursesByUser()) {

View File

@ -50,7 +50,7 @@ class common
const ACCESS_TIMER = 1800; const ACCESS_TIMER = 1800;
// Numéro de version // Numéro de version
const ZWII_VERSION = '1.4.11'; const ZWII_VERSION = '1.4.12';
// URL autoupdate // URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';