add debugging
This commit is contained in:
@@ -798,6 +798,7 @@ function _booking_waitinglist_update_trigger()
|
||||
$counter = 1;
|
||||
|
||||
foreach ($waiting_list as $person) {
|
||||
watchdog('booking_debug', "Updating node !nid to have waitlist position of !counter", array('!nid' => $person->nid, '!counter' => $counter));
|
||||
db_update('booking_person')
|
||||
->fields(array(
|
||||
'booking_waitlist_pos' => $counter++,
|
||||
@@ -805,10 +806,8 @@ function _booking_waitinglist_update_trigger()
|
||||
->condition('nid', $person->nid)
|
||||
->execute();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function booking_view($node, $view_mode) {
|
||||
global $event;
|
||||
$rows = array();
|
||||
|
Reference in New Issue
Block a user