Skip to content
Snippets Groups Projects
Commit 48c69ed3 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

app/views/course/wizard/steps/basicdata/index_studygroup.php: improved code, fixes #4575

Closes #4575

Merge request studip/studip!3387
parent a32c2f64
No related branches found
No related tags found
No related merge requests found
...@@ -71,9 +71,9 @@ ...@@ -71,9 +71,9 @@
<?= _('Einverstanden') ?> <?= _('Einverstanden') ?>
</label> </label>
<input type="hidden" name="institute" value="<?= $values['institute'] ?>"/> <input type="hidden" name="institute" value="<?= htmlReady($values['institute']) ?>">
<input type="hidden" name="start_time" value="<?= $values['start_time'] ?>"/> <input type="hidden" name="start_time" value="<?= htmlReady($values['start_time']) ?>">
<input type="hidden" name="studygroup" value="1"/> <input type="hidden" name="studygroup" value="1"/>
<?php foreach ($values['lecturers'] as $id => $assigned) : ?> <?php foreach ($values['lecturers'] as $id => $assigned) : ?>
<input type="hidden" name="lecturers[<?= $id ?>]" value="1"/> <input type="hidden" name="lecturers[<?= htmlReady($id) ?>]" value="1">
<?php endforeach ?> <?php endforeach ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment