change fudge factor again
This commit is contained in:
@@ -965,7 +965,7 @@ function booking_studygroups_update_form($node, &$form_state, $sid) {
|
|||||||
$firstgroup = reset($studygroups);
|
$firstgroup = reset($studygroups);
|
||||||
$limit = variable_get('booking_regn_limit','500');
|
$limit = variable_get('booking_regn_limit','500');
|
||||||
//be a bit more lenient with maximums to avoid excessive re-arrangement of groups
|
//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;
|
$max_people = (int) ($limit / $firstgroup->booking_num_group_sessions) + $fudge_factor;
|
||||||
|
|
||||||
//select all the attendees for this event
|
//select all the attendees for this event
|
||||||
|
Reference in New Issue
Block a user