mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
feature: Lien BAIU + thesis ID in tfe.php
This commit is contained in:
1 parent
3316a352e3
commit
61b105da27
3 files changed
+48
-64
No files matched your search
@@ -543,8 +543,11 @@ class ThesisCreateController
|
||||
throw new Exception('La note du jury doit être comprise entre 0 et 20.');
|
||||
}
|
||||
}
|
||||
$exemplaireBaiu = !empty($post['exemplaire_baiu']);
|
||||
$exemplaireErg = !empty($post['exemplaire_erg']);
|
||||
// Student submissions: the BAIU/ERG exemplaire checkboxes are not rendered
|
||||
// in the share form, so default both to true — replicating the admin
|
||||
// add-form default (app/public/admin/add.php).
|
||||
$exemplaireBaiu = !empty($post['exemplaire_baiu']) || !$adminMode;
|
||||
$exemplaireErg = !empty($post['exemplaire_erg']) || !$adminMode;
|
||||
$cc2r = !empty($post['cc2r']);
|
||||
|
||||
// Duration: separate pages (int) and time (h/m → total minutes)
|
||||
|
||||
Reference in new issue
Block a user