change fudge factor again

This commit is contained in:
2016-06-22 18:08:32 +10:00
parent d0e5d370eb
commit e2f640ab30

View File

@@ -965,7 +965,7 @@ function booking_studygroups_update_form($node, &$form_state, $sid) {
$firstgroup = reset($studygroups);
$limit = variable_get('booking_regn_limit','500');
//be a bit more lenient with maximums to avoid excessive re-arrangement of groups
$fudge_factor = 1;
$fudge_factor = 0;
$max_people = (int) ($limit / $firstgroup->booking_num_group_sessions) + $fudge_factor;
//select all the attendees for this event