diff --git a/admin/tours_sa.php b/admin/tours_sa.php index b5dfe9f8..31f3b33b 100644 --- a/admin/tours_sa.php +++ b/admin/tours_sa.php @@ -144,7 +144,7 @@ function tour_cost_function($annealer, $bucket_id, $ids) /* Check for student below/above grade range */ if($s['grade'] < $t['grade_min']) $cost += 15; - if($s['grade'] > $t['grade_min']) $cost += 25; + if($s['grade'] > $t['grade_max']) $cost += 25; /* Record the school */ $schools[$s['schools_id']]++;