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()) ),