pass some other missing variables to function
This commit is contained in:
@@ -737,7 +737,7 @@ function booking_studygroups_update_form($node, &$form_state, $sid) {
|
||||
//watchdog('booking', "Attendee list distribution: @info", array('@info' => var_export($session_count, TRUE)));
|
||||
|
||||
//allocate everyone else to a session
|
||||
_booking_studygroups_update_allocate($iterator, $group, $group_mapping, $session_count, $working_list, $calculation_messages);
|
||||
_booking_studygroups_update_allocate($iterator, $max_people, $maximums, $group, $group_mapping, $session_count, $working_list, $calculation_messages);
|
||||
|
||||
/*
|
||||
//reset the iterator to starting position
|
||||
@@ -1061,7 +1061,7 @@ function _booking_studygroups_update_preallocate($group, $group_mapping, &$sessi
|
||||
* Process attendee list to allocate attendees to study group sessions based on statistical breakdown of attendees
|
||||
* @see booking_studygroups_update_form()
|
||||
*/
|
||||
function _booking_studygroups_update_allocate($iterator, $group, $group_mapping, $session_count, $working_list, $calculation_messages) {
|
||||
function _booking_studygroups_update_allocate($iterator, $max_people, $maximums, $group, $group_mapping, $session_count, $working_list, $calculation_messages) {
|
||||
$starting_session = 0;
|
||||
|
||||
//reset the iterator to starting position
|
||||
|
Reference in New Issue
Block a user