more testing
This commit is contained in:
@@ -1610,6 +1610,7 @@ function _booking_travelform_email_summary($node) {
|
||||
function _booking_readinggroup_email_listing($node) {
|
||||
global $event;
|
||||
$rows = array();
|
||||
$header = array("First Name", "Last Name", "Phone Number");
|
||||
|
||||
//display study session data if enabled
|
||||
if (variable_get('booking_enable_studygroups', 0) == 0) {
|
||||
@@ -1632,7 +1633,14 @@ function _booking_readinggroup_email_listing($node) {
|
||||
|
||||
//check that this reading group session has been defined for this attendee and that they're a leader
|
||||
if (!empty($node->$sessionid) && $node->$roleid == 1) {
|
||||
watchdog('booking_debug', "<pre>Person is a leader of reading group \n@info</pre>", array('@info' => print_r($readinggroup, true)));
|
||||
watchdog('booking_debug', "<pre>Person is a leader of reading group @id \n@info</pre>",
|
||||
array('@id' => $node->$sessionid, '@info' => print_r($readinggroup, true)));
|
||||
|
||||
$member_query = db_query("SELECT * FROM {booking_person_view} WHERE $sessionid = :sid ", array(':sid' => $node->$sessionid))->fetchAllAssoc('nid');
|
||||
watchdog('booking_debug', "<pre>Other people in reading group @id \n@info</pre>",
|
||||
array('@id' => $node->$sessionid, '@info' => print_r($member_query, true)));
|
||||
|
||||
//theme('table', array('header' => $state_header, 'rows' => $state_rows));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user