debug
This commit is contained in:
@@ -452,6 +452,8 @@ function booking_variety_sessions_view_summary() {
|
||||
array(':eid' => $event->eid));
|
||||
$sessions = $sessions_query->fetchAllAssoc('vid');
|
||||
|
||||
watchdog('booking_debug', "<pre>Variety Session Report sessions:\n@info</pre>", array('@info' => print_r( $sessions, true)));
|
||||
|
||||
foreach ($timeslot_list as $timeslot) {
|
||||
$header[] = $timeslot->booking_variety_time_descrip;
|
||||
}
|
||||
@@ -468,8 +470,13 @@ function booking_variety_sessions_view_summary() {
|
||||
foreach ($timeslot_list as $timeslot) {
|
||||
if (isset($session_ids[$timeslot->tid])) {
|
||||
//get details of the person's variety session for this timeslot
|
||||
$sid = $session_ids[$timeslot->tid];
|
||||
$text = $sessions[$sid]->booking_variety_descrip;
|
||||
$vid = $session_ids[$timeslot->tid];
|
||||
|
||||
watchdog('booking_debug', 'Person @nid in timeslot @tid registered for session id @vid', array(
|
||||
'@nid' => $person->nid, '@tid' => $timeslot->tid, '@vid' => $vid,
|
||||
));
|
||||
|
||||
$text = $sessions[$vid]->booking_variety_descrip;
|
||||
$newline[] = $text;
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user