From b95d341dfa5e7a2fde4fb31dc2474fb573f36dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Tue, 14 Jan 2025 09:43:27 +0100 Subject: [PATCH] 1.17.02 bug suscribe view --- core/core.php | 2 +- core/module/course/view/suscribe/suscribe.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 0a0093b..de20adc 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '1.17.01'; + const ZWII_VERSION = '1.17.02'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/'; diff --git a/core/module/course/view/suscribe/suscribe.php b/core/module/course/view/suscribe/suscribe.php index f8518ae..edd41e5 100644 --- a/core/module/course/view/suscribe/suscribe.php +++ b/core/module/course/view/suscribe/suscribe.php @@ -52,7 +52,7 @@
course::$swapMessage['submitLabel'], - 'disabled' => !(course->courseIsAvailable($this->getUrl(2)) + 'disabled' => !($this->courseIsAvailable($this->getUrl(2)) && !($this->getData(['course', $this->getUrl(2), 'limitEnrolment']) === true && $this->getData(['course', $this->getUrl(2), 'limitEnrolmentDate']) <= time()) ),