diff --git a/booking.helper.inc b/booking.helper.inc index b77c811..ca1d9b3 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -699,7 +699,7 @@ function _booking_studygroup_cleanup() //search for entries already in the mapping table that have a booking_status of 3 (not coming) $to_remove_query = db_query("SELECT m.* FROM {booking_studygroup_mapping} m inner join {booking_person} p on p.nid = m.booking_node_id - WHERE booking_eventid = :eid AND p.booking_status = 3", + WHERE m.booking_eventid = :eid AND p.booking_status = 3", array(':eid' => $event->eid)); $to_remove = $to_remove_query->fetchAll(); diff --git a/booking.studygroups_report.inc b/booking.studygroups_report.inc index 20dc20e..2c55f95 100644 --- a/booking.studygroups_report.inc +++ b/booking.studygroups_report.inc @@ -59,7 +59,7 @@ function booking_studygroups_csv_report($group_id) { $data[$member->booking_session_id][] = implode(' ', $text); } - watchdog('booking_debug', "
Study Group CSV Report\n@info", array('@info' => print_r( $data_array, true))); + //watchdog('booking_debug', "
Study Group CSV Report\n@info", array('@info' => print_r( $data_array, true))); //calculate the CSV layout $header_array = array_keys($data);