diff --git a/booking.studygroups_report.inc b/booking.studygroups_report.inc index cf19930..bfed9d1 100644 --- a/booking.studygroups_report.inc +++ b/booking.studygroups_report.inc @@ -75,13 +75,6 @@ function booking_studygroups_csv_report($group_id) { } //watchdog('booking_debug', "
Study Group CSV Report\n@info
", array('@info' => print_r( $data_array, true))); - // Check if we had no data added, that means there were no people in this study group - if (empty($data)) { - drupal_set_message("Error: Study group $group_id has no people assigned.", 'error', FALSE); - drupal_goto('admin/booking/studygroups'); - return ""; - } - //calculate the CSV layout $header_array = array_keys($data); $maximums = array();