change debug message

This commit is contained in:
Nathan Coad
2018-01-29 21:26:08 +11:00
parent 54e74b412e
commit a8ec4e31b3

View File

@@ -260,7 +260,7 @@ function _booking_get_waitinglist()
->orderBy('p.booking_status')->orderBy('y.booking_payment_date'); ->orderBy('p.booking_status')->orderBy('y.booking_payment_date');
$definition_result = $query->execute(); $definition_result = $query->execute();
watchdog('booking_debug', "<pre>_booking_get_waitinglist\n@info</pre>", array('@info' => print_r( $definition_result, true))); watchdog('booking_debug', "<pre>_booking_get_waitinglist\n@info</pre>", array('@info' => print_r($definition_result->queryString, true)));
/* /*
// Taken from the Waiting List page, not very optimised // Taken from the Waiting List page, not very optimised
$result = db_query('SELECT DISTINCT nid, booking_firstname, booking_lastname, booking_state, booking_readinggroup, booking_country, booking_status $result = db_query('SELECT DISTINCT nid, booking_firstname, booking_lastname, booking_state, booking_readinggroup, booking_country, booking_status