1.17.02 bug suscribe view
This commit is contained in:
parent
9356a75946
commit
b95d341dfa
@ -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/';
|
||||
|
@ -52,7 +52,7 @@
|
||||
<div class="col3 offset7">
|
||||
<?php echo template::submit('courseSwapSubmit', [
|
||||
'value' => 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())
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user