more testing

This commit is contained in:
Nathan Coad
2018-06-26 09:42:12 +10:00
parent a01f955915
commit 3379d34ee5

View File

@@ -1640,11 +1640,26 @@ function _booking_readinggroup_email_listing($node) {
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));
foreach ($member_query as $member) {
$rows[] = array(
$member->booking_firstname,
$member->booking_lastname,
$member->booking_mobile,
);
}
}
}
if(variable_get('booking_enable_html_mail', 0) == 1) {
$table = theme('table', array('header' => $header, 'rows' => $rows));
watchdog('booking_debug', "<pre>Reading group table\n@info</pre>", array('@info' => print_r($table, true)));
return drupal_render($table);
}
else {
return "";
}
}
/**
* Helper function to format summary of studygroup sessions to be used as a token
*/