Skip to content

Commit

Permalink
Planner: removed Left users from lesson plan Guest select
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Parker committed Oct 9, 2023
1 parent 53ec0a9 commit 21942d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ v26.0.00
Planner: fixed input sanitization of resource quick-add values
Planner: fixed students with timetable exceptions showing up in submission list
Planner: fixed Parent Weekly Planner CLI sending between school years
Planner: removed Left users from lesson plan Guest select
Reports: fixed handling of class vs school attendance in AttendanceByCycle data source
Reports: fixed html entity decoding in MpdfRenderer
Reports: fixed footers on last page during bulk generation with mPDFRenderer
Expand Down
2 changes: 1 addition & 1 deletion modules/Planner/planner_add.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@

$row = $form->addRow()->addClass('advanced');
$row->addLabel('guests', __('Guest List'));
$row->addSelectUsers('guests')->selectMultiple();
$row->addSelectUsers('guests', $session->get('gibbonSchoolYearID'))->selectMultiple();

$roles = array(
'Guest Student' => __('Guest Student'),
Expand Down
2 changes: 1 addition & 1 deletion modules/Planner/planner_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@

$row = $form->addRow();
$row->addLabel('guests', __('Guest List'));
$row->addSelectUsers('guests')->selectMultiple();
$row->addSelectUsers('guests', $session->get('gibbonSchoolYearID'))->selectMultiple();

$roles = array(
'Guest Student' => __('Guest Student'),
Expand Down

0 comments on commit 21942d7

Please sign in to comment.