enhance debugging
This commit is contained in:
@@ -1112,8 +1112,9 @@ function _booking_studygroups_update_allocate($iterator, $max_people, $maximums,
|
||||
//check for maximum group size
|
||||
_booking_loop_carefully($session_count, 'total', $starting_session, $max_people, $group->booking_num_group_sessions, 4, $calculation_messages);
|
||||
|
||||
$calculation_messages[] = t('Assigning person with id !id with gender !gender and age group !age to session !session (currently with !num people).',
|
||||
array('!id' => $iterator->key(), '!session' => $starting_session,
|
||||
$calculation_messages[] = t('Assigning person !name with id !id with gender !gender and age group !age to session !session (currently with !num people).',
|
||||
array('!name' => $current->booking_firstname . ' ' . $current->booking_lastname,
|
||||
'!id' => $iterator->key(), '!session' => $starting_session,
|
||||
'!num' => $session_count[$starting_session]['total'], '!gender' => $gender, '!age' => $age_type )
|
||||
);
|
||||
_booking_assign_attendee_group($iterator->key(), $starting_session, $gender, $age, $working_list, $session_count, $calculation_messages);
|
||||
|
Reference in New Issue
Block a user