File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 675
675
//$_configuration['show_all_sessions_on_my_course_page'] = true;
676
676
// Redirect to home tool after uploading a student publication or a adding a comment
677
677
//$_configuration['allow_redirect_to_main_page_after_work_upload'] = false;
678
+ // Empty the session student list when subscribing multiple users
679
+ //$_configuration['not_empty_session_student_list_for_multiple_subscription'] = false;
Original file line number Diff line number Diff line change @@ -330,12 +330,14 @@ function change_select(val) {
330
330
}
331
331
332
332
if ($ form_sent == 1 ) {
333
+ $ notEmptyList = api_get_configuration_value ('not_empty_session_student_list_for_multiple_subscription ' );
334
+
333
335
// Added a parameter to send emails when registering a user
334
336
SessionManager::subscribe_users_to_session (
335
337
$ id_session ,
336
338
$ UserList ,
337
339
null ,
338
- true
340
+ ! $ notEmptyList
339
341
);
340
342
header ('Location: resume_session.php?id_session= ' .$ id_session );
341
343
exit ;
You can’t perform that action at this time.
0 commit comments