fix array references

This commit is contained in:
Nathan Coad
2016-06-24 12:44:46 +10:00
parent d5a810badc
commit 54984e89e5

View File

@@ -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 * Process attendee list to allocate attendees to study group sessions based on statistical breakdown of attendees
* @see booking_studygroups_update_form() * @see booking_studygroups_update_form()
*/ */
function _booking_studygroups_update_allocate($iterator, $max_people, $maximums, $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; $starting_session = 0;
//reset the iterator to starting position //reset the iterator to starting position