exclude reading group from leader/helper summary
This commit is contained in:
@@ -1680,7 +1680,7 @@ function _booking_studygroup_email_summary($node) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//look up the titles of the study groups
|
//look up the titles of the study groups
|
||||||
$studygroups_query = db_query("SELECT * FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
|
$studygroups_query = db_query("SELECT * FROM {booking_studygroup_list} WHERE booking_eventid = :eid AND booking_is_readinggroup = 'N'",
|
||||||
array(':eid' => $event->eid));
|
array(':eid' => $event->eid));
|
||||||
$studygroups = $studygroups_query->fetchAllAssoc('sid');
|
$studygroups = $studygroups_query->fetchAllAssoc('sid');
|
||||||
|
|
||||||
@@ -1740,7 +1740,7 @@ function _booking_leader_helper_email_summary($node) {
|
|||||||
//display study session data if enabled
|
//display study session data if enabled
|
||||||
if (variable_get('booking_enable_studygroups', 0) == 1) {
|
if (variable_get('booking_enable_studygroups', 0) == 1) {
|
||||||
//look up the titles of the study groups
|
//look up the titles of the study groups
|
||||||
$studygroups_query = db_query("SELECT * FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
|
$studygroups_query = db_query("SELECT * FROM {booking_studygroup_list} WHERE booking_eventid = :eid AND booking_is_readinggroup = 'N'",
|
||||||
array(':eid' => $event->eid));
|
array(':eid' => $event->eid));
|
||||||
$studygroups = $studygroups_query->fetchAllAssoc('sid');
|
$studygroups = $studygroups_query->fetchAllAssoc('sid');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user