Skip to content
Snippets Groups Projects
Commit adb60232 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

use correct variable name for assigned groups when editting a course date, fixes #4334

Closes #4334

Merge request studip/studip!3138
parent 1504f1d4
No related branches found
No related tags found
No related merge requests found
<?php
/**
* @var Course_TimesroomsController $controller
* @var CourseDate $date
* @var Room[] $selectable_rooms
* @var QuickSearch|null $room_search
* @var bool $only_bookable_rooms
* @var int $preparation_time
* @var int $max_preparation_time
* @var CourseMember[] $teachers
* @var User[] $assigned_teachers
* @var Statusgruppen[] $groups
* @var Statusgruppen[] $assigned_groups
*/
?>
<form action="<?= $controller->link_for('course/timesrooms/saveDate/' . $date->termin_id) ?>" <form action="<?= $controller->link_for('course/timesrooms/saveDate/' . $date->termin_id) ?>"
method="post" class="default collapsable" <?= Request::int('fromDialog') ? 'data-dialog="size=big"' : '' ?>> method="post" class="default collapsable" <?= Request::int('fromDialog') ? 'data-dialog="size=big"' : '' ?>>
<?= CSRFProtection::tokenTag() ?> <?= CSRFProtection::tokenTag() ?>
...@@ -177,7 +192,7 @@ ...@@ -177,7 +192,7 @@
<ul> <ul>
<? foreach ($assigned_groups as $group) : ?> <? foreach ($assigned_groups as $group) : ?>
<li data-selection-id="<?= htmlReady($group->id) ?>"> <li data-selection-id="<?= htmlReady($group->id) ?>">
<input type="hidden" name="assigned_groups[]" <input type="hidden" name="assigned-groups[]"
value="<?= htmlReady($group->id) ?>"> value="<?= htmlReady($group->id) ?>">
<span class="studip-selection-label"> <span class="studip-selection-label">
......
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